blob: 3030447d16f5d1bd151bf5d0276366b8f9cbb0aa [file] [log] [blame]
#ifndef _MLL1_COMMON_H
#define _MLL1_COMMON_H
#include "irat_common_enums_public.h"
#include "global_type.h"
/* [20150309 Ali] for MD1<->MD3 integration, move to mcu/interface/sap/cross_core/irat_common_enum_public.h
typedef enum
{
LL1_MODE_STATUS_INIT = 0,
LL1_GSM_MODE_BEGIN,
LL1_GSM_NULL_MODE,
LL1_GSM_IDLE_MODE,
LL1_GSM_SDCCH_MODE,
LL1_GSM_DCH_MODE,
LL1_GSM_PKT_MODE,
LL1_GSM_MODE_END,
LL1_FDD_MODE_BEGIN,
LL1_FDD_NULL_MODE,
LL1_FDD_IDLE_MODE,
LL1_FDD_EFACH_DRX_MODE,
LL1_FDD_FACH_MODE,
LL1_FDD_DCH_MODE,
LL1_FDD_MODE_END,
LL1_TDD_MODE_BEGIN,
LL1_TDD_NULL_MODE,
LL1_TDD_IDLE_MODE,
LL1_TDD_FACH_MODE,
LL1_TDD_DCH_MODE,
LL1_TDD_HSPA_MODE,
LL1_TDD_MODE_END,
LL1_LTE_MODE_BEGIN,
LL1_LTE_NULL_MODE,
LL1_LTE_IDLE_MODE,
LL1_LTE_CONNECT_MODE,
LL1_LTE_CONNECT_DRX_MODE,
LL1_LTE_MODE_END
} ll1_active_rat_mode_status_enum;
*/
// [20150331 Ali] Gemini_L_W
/*****************************************************************************
* ENUMERATION
* mll1_current_cntx_enum
*
* DESCRIPTIONS
* Used to identify the current used cntx (MLL1_1 or MLL1_2), for Gemini L+W project
* for GEMINI_PLUS_WCDMA >= 3 : MLL1_3, for GEMINI_PLUS_WCDMA >= 4: MLL1_4.
*****************************************************************************/
typedef enum
{
MLL1_1 = 0,
MLL1_2 = 1,
MLL1_3 = 2,
MLL1_4 = 3
} mll1_current_cntx_enum;
/*****************************************************************************
* ENUMERATION
* mll1_tick_count_type_enum
*
* DESCRIPTIONS
* Used to identify the tick count of certain type
*****************************************************************************/
typedef enum
{
MLL1_TICK_COUNT_TYPE_RANK = 0,
MLL1_TICK_COUNT_TYPE_DETC = 1,
MLL1_TICK_COUNT_TYPE_PRIO = 3
} mll1_tick_count_type_enum;
/*****************************************************************************
* STRUCT
* mll1_gap_fsm_para_struct
*
* DESCRIPTIONS
* xL1-LL1 pass information structure.
*
* PARAMETERS
* rat - always be MLL1_GERAN_RAT
* gap_service_enable - is gsm request gap service
* tick_bmp - bit 0 : ranking search tick, bit 1 : priority search tick
* carrier_num - HPS on, Meas off, is equal to the number of higher priority search frequencies
* HPS on, Meas on, No meaning
* HPS off, Meas on, is equal to the total number of measurement frequencies
* carrier_num_rpg - frequency number of RPG (IncMon)
* rach_rpt_carrier_num- In idle/eFACH state, UMTS FDD may request to meas. special freqs for rach report
* t_hps - high priority period = 25/60/75 (unit : s)
* is_period_reset_bmp - bit 0 for rank period, 1 means to reset
* - bit 1 for prio period, 0 means not to reset
* - when freq. num is same as before, ll1 will check this flag to reset period or not
* auto_success - KAL_TRUE - xL1 will not use RF from the starting time of LL1_xL1_AUTONOMOIS_GAP_IND
* KAL_FALSE - xL1 may use RF after starting time of LL1_xL1_AUTONOMOIS_GAP_IND.
* valid_period - The length of autonomous gap allowed in GL1. The value is valid when GL1 is active rat and success = KAL_TRUE. Unit : ebit
* NOTE
*****************************************************************************/
typedef struct
{
kal_int32 rat;
kal_bool gap_service_enable;
kal_uint8 tick_bmp;
kal_uint8 carrier_num;
kal_uint8 carrier_num_rpg;
kal_uint8 rach_rpt_carrier_num;
kal_uint16 t_hps;
kal_int32 is_period_reset_bmp;
kal_bool auto_success;
kal_int64 valid_period;
}mll1_gap_fsm_para_struct;
#if 0
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif /*__GSM_RAT__*/
#if 0
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif /*__UMTS_FDD_MODE__*/
#if 0
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif /*__UMTS_TDD128_MODE__*/
#if 0
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif /*__LTE_RAT__*/
#endif /*_MLL1_COMMON_H*/