lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /*****************************************************************************
|
| 2 | *°æ±¾ËùÓÐ (C)2009ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾
|
| 3 | * Ä£¿éÃû £ºÐÒéÕ»ÓëÎïÀí²ã¹«¹²½Ó¿ÚÎļþ
|
| 4 | * ÎļþÃû £ºpsl1com.h
|
| 5 | * Îļþ±êʶ£º
|
| 6 | * Ïà¹ØÎļþ£º
|
| 7 | * ʵÏÖ¹¦ÄÜ£ºÐÒéÕ»ÓëL1G½Ó¿Ú¡¢¸÷ÎïÀí²ãÊÊÅä²ã½Ó¿Ú
|
| 8 | * ×÷Õß £ºweiyuzhen
|
| 9 | * °æ±¾ £ºV1.0
|
| 10 | * Íê³ÉÈÕÆÚ£º2010.12.30
|
| 11 | * ÆäËü˵Ã÷£º"IR"±íʾÏà¹ØµÄºêÖµ¶¨Òå¡¢½á¹¹Ì嶨Òå¡¢º¯Êý¶¨Òå¾ù¼Ì³Ð×Ôcomneon´úÂ룬
|
| 12 | * ÒÔʾÓë×ÔÑÐÇø·Ö
|
| 13 | *
|
| 14 | * Ð޸ļǼ1£º
|
| 15 | * ÈÕ ÆÚ£º2012.05.21
|
| 16 | * ÐÞ¸ÄÈË£ºÕÅÅô³Ì
|
| 17 | * ÐÞ¸ÄÄÚÈÝ£º
|
| 18 | ms.h
|
| 19 | 1)NETPAR_INTER_FREQ_LENGTH ÓÉ9¸Ä³É16
|
| 20 | 2)MAX_NO_UTRAN_CELL_LIST_IDX ÓÉ9¸Ä³É16
|
| 21 | 3)MAX_NO_UTRAN_RESULT ÓÉ9¸Ä³É16
|
| 22 | psl1com.h:
|
| 23 | 1£© Z_IR_MCR_MAX_FREQ ÓÉ9¸Ä³É16
|
| 24 | 2£©ZPS_IR_MCR_MAX_FREQ ÓÉ9¸Ä³É16
|
| 25 | 3£©Z_IR_NOF_CELL_LIST_FREQUENCIES ÓÉ9¸Ä³É16
|
| 26 | 4£©ZPS_IR_NOF_CELL_LIST_FREQUENCIES ÓÉ9¸Ä³É16
|
| 27 | tdpsphyint.h
|
| 28 | 1£©Z_TD_P_MAX_INTER_FREQ_NUM ÓÉ9¸Ä³É16
|
| 29 | 2£©Z_TD_P_MAX_BLIND_INTER_FREQ ÓÉ9¸Ä³É16
|
| 30 | ascasint.h
|
| 31 | Z_MaxRedirTdFreqNum ÐèÒª9->16
|
| 32 | rr.h£º
|
| 33 | MAX_NO_3G_UTRAN_FREQUENCY_LIST ÐèÒª9->16
|
| 34 | Z_MAX_PSEUDO_FR_CELLS ÐèÒª9->16
|
| 35 | *****************************************************************************/
|
| 36 | #ifndef PSL1COM_H
|
| 37 | #define PSL1COM_H
|
| 38 |
|
| 39 | #ifndef MULTI_IRAT_2963
|
| 40 | #include "l1_count_latch.h"
|
| 41 | #endif
|
| 42 | #include "tdpsphyint.h"
|
| 43 |
|
| 44 |
|
| 45 | #include "pswphyint.h"
|
| 46 |
|
| 47 |
|
| 48 | /**************************************************************************
|
| 49 | * Í·Îļþ°üº¬ *
|
| 50 | **************************************************************************/
|
| 51 |
|
| 52 |
|
| 53 | /**************************************************************************
|
| 54 | * È«¾Öºê¶¨Òå *
|
| 55 | **************************************************************************/
|
| 56 |
|
| 57 | /*ÊÊÅäÄ£¿éÉèÖÃÖ÷ģʽ»òÇëÇóGAPʱ¶ÔÓ¦µÄÖÆÊ½*/
|
| 58 | #define Z_IRAT_INIT_MODE (BYTE)0 /*³õʼÎÞÐ§ÖÆÊ½*/
|
| 59 | #define ZPS_IRAT_INIT_MODE Z_IRAT_INIT_MODE
|
| 60 | #define Z_IRAT_GSM_MODE (BYTE)1 /*GSMÖÆÊ½*/
|
| 61 | #define ZPS_IRAT_GSM_MODE Z_IRAT_GSM_MODE
|
| 62 | #define Z_IRAT_TD_MODE (BYTE)2 /*TDÖÆÊ½*/
|
| 63 | #define ZPS_IRAT_TD_MODE Z_IRAT_TD_MODE
|
| 64 | #define Z_IRAT_LTE_MODE (BYTE)3 /*LTEÖÆÊ½*/
|
| 65 | #define ZPS_IRAT_LTE_MODE Z_IRAT_LTE_MODE
|
| 66 | #define Z_IRAT_W_MODE (BYTE)4 /*WÖÆÊ½*/
|
| 67 |
|
| 68 | /*RRC״̬*/
|
| 69 | #define Z_L1A_MEAS_RRC_IDLE 0
|
| 70 | #define Z_L1A_MEAS_RRC_FACH 1
|
| 71 | #define Z_L1A_MEAS_RRC_DCH 2
|
| 72 |
|
| 73 | /*GAPÄ¿µÄ*/
|
| 74 | #define Z_L1A_GAP_PURPOSE_NULL 0x00
|
| 75 | #define Z_L1A_GAP_PURPOSE_PLMN 0x01
|
| 76 | #define Z_L1A_GAP_PURPOSE_MEAS 0x02
|
| 77 | #define Z_L1A_GAP_PURPOSE_USED 0x04
|
| 78 | #define Z_L1A_GAP_PURPOSE_RSSI 0x80
|
| 79 |
|
| 80 | /*»¬¶¯Æ½¾ù´°¿Ú*/
|
| 81 | #define Z_L1A_MEAS_GSM_IDLE_RAVG_SIZE 4
|
| 82 | #define Z_L1A_MEAS_GSM_DCH_RAVG_SIZE 1
|
| 83 |
|
| 84 | #define Z_IR_MAX_INTER_FREQ_CELL_NUM (WORD)32 /*¸ÃÖµÓëtdRrcPhyInt.hÖеÄZ_TD_P_MAX_INTER_FREQ_CELL_NUMÏàµÈ*/
|
| 85 | #define ZPS_IR_MAX_INTER_FREQ_CELL_NUM Z_IR_MAX_INTER_FREQ_CELL_NUM
|
| 86 | #define Z_IR_MCR_MAX_FREQ (BYTE)16
|
| 87 | #define ZPS_IR_MCR_MAX_FREQ Z_IR_MCR_MAX_FREQ
|
| 88 |
|
| 89 | #define Z_IR_MAX_GAP_NUM (BYTE)8
|
| 90 | #define ZPS_IR_MAX_GAP_NUM Z_IR_MAX_GAP_NUM
|
| 91 |
|
| 92 | #define Z_IR_HW_IRAT_MEAS_OFFSET (BYTE)3
|
| 93 | #define ZPS_IR_HW_IRAT_MEAS_OFFSET Z_IR_HW_IRAT_MEAS_OFFSET
|
| 94 |
|
| 95 | #define Z_IR_DEAC_GSM_REQ (BYTE)0
|
| 96 | #define ZPS_IR_DEAC_GSM_REQ Z_IR_DEAC_GSM_REQ
|
| 97 | #define Z_IR_SUSPEND_UMTS_REQ (BYTE)1
|
| 98 | #define ZPS_IR_SUSPEND_UMTS_REQ Z_IR_SUSPEND_UMTS_REQ
|
| 99 | #define Z_IR_RESUME_UMTS_REQ (BYTE)2
|
| 100 | #define ZPS_IR_RESUME_UMTS_REQ Z_IR_RESUME_UMTS_REQ
|
| 101 |
|
| 102 | /*Ë«¿¨Ë«´ýL1GÐèÇóÐÞ¸Ä,¶àÄ£ºê¶¨Òå,ָʾ˫´ýÖжàÄ£Ò»´ýµ÷ÓÃ*/
|
| 103 | #define Z_L1A_MUTI_MODE 0
|
| 104 |
|
| 105 | /*¹ÒÆð¿¨1»¹ÊÇ¿¨2*/
|
| 106 | #define Z_SUSPENDCARD1 0
|
| 107 | #define Z_SUSPENDCARD2 1
|
| 108 |
|
| 109 | /*¿¨1 ¿¨2¶ÔÓ¦Êý×éϱêºêÖµ*/
|
| 110 | #define Z_L1A_CARD1 0
|
| 111 | #define Z_L1A_CARD2 1
|
| 112 |
|
| 113 | #define Z_LTE_P_IRAT_MAX_GAP_NUM 20 /*¸¨Ä£ÏÂ×î´óÅäÖÃgapÊýÄ¿*/
|
| 114 |
|
| 115 | /*ÒµÎñÀàÐͶ¨Òå*/
|
| 116 | #define EVENT_RF_OFF (BYTE)0
|
| 117 | #define EVENT_RF_ON (BYTE)1
|
| 118 | #define EVENT_MT_CALL (BYTE)2
|
| 119 | #define EVENT_MO_CALL (BYTE)3
|
| 120 | #define EVENT_MT_SS (BYTE)4
|
| 121 | #define EVENT_MO_SS (BYTE)5
|
| 122 | #define EVENT_MO_CS_SMS (BYTE)6
|
| 123 | #define EVENT_MT_CS_SMS (BYTE)7
|
| 124 | #define EVENT_MO_PS_SMS (BYTE)8
|
| 125 | #define EVENT_MT_PS_SMS (BYTE)9
|
| 126 | #define EVENT_CARD_CONFIG (BYTE)10
|
| 127 | #define EVENT_CS_UPDATE (BYTE)11
|
| 128 | #define EVENT_CS_DETACH (BYTE)12
|
| 129 | #define EVENT_CS_RRC_CONNECT (BYTE)13
|
| 130 | #define EVENT_PS_UPDATE (BYTE)14
|
| 131 | #define EVENT_PS_DETACH (BYTE)15
|
| 132 | #define EVENT_PS_SIGNALLING (BYTE)16
|
| 133 | #define EVENT_SEARCHPLMN (BYTE)17
|
| 134 | #define EVENT_PCH_PAGING (BYTE)18
|
| 135 | #define EVENT_PLMN_CSG_LIST (BYTE)19
|
| 136 | #define EVENT_PS_CONNECT (BYTE)20
|
| 137 | #define EVENT_HPPLMNPROC (BYTE)21
|
| 138 | #define EVENT_DEACTIVED (BYTE)22
|
| 139 |
|
| 140 | /**********************************************************************
|
| 141 | URRCAÓëL1G¹²Óú궨Ò壨¼Ì³Ð×ÔComneon´úÂ룩
|
| 142 | **********************************************************************/
|
| 143 | /* ================================ l1ud_meas.h, begin ================================= */
|
| 144 | #define Z_IR_PREP_INVALID (BYTE)0
|
| 145 | #define ZPS_IR_PREP_INVALID Z_IR_PREP_INVALID
|
| 146 | #define Z_IR_PREP_PCH (BYTE)1
|
| 147 | #define ZPS_IR_PREP_PCH Z_IR_PREP_PCH
|
| 148 | #define Z_IR_PREP_PPCH (BYTE)2
|
| 149 | #define ZPS_IR_PREP_PPCH Z_IR_PREP_PPCH
|
| 150 | #define Z_IR_PREP_TCH (BYTE)3
|
| 151 | #define ZPS_IR_PREP_TCH Z_IR_PREP_TCH
|
| 152 | #define Z_IR_PREP_SDCCH (BYTE)4
|
| 153 | #define ZPS_IR_PREP_SDCCH Z_IR_PREP_SDCCH
|
| 154 | #define Z_IR_PREP_PTM (BYTE)5
|
| 155 | #define ZPS_IR_PREP_PTM Z_IR_PREP_PTM
|
| 156 | #define Z_IR_PREP_IRAT (BYTE)6 /* Used for both TCH and PTM when SINGLE_ANTENNA_SUPPORT is defined */
|
| 157 | #define ZPS_IR_PREP_IRAT Z_IR_PREP_IRAT
|
| 158 |
|
| 159 | #define Z_IR_GsmGapClusterType_disordered (BYTE)0
|
| 160 | #define ZPS_IR_GsmGapClusterType_disordered Z_IR_GsmGapClusterType_disordered
|
| 161 | #define Z_IR_GsmGapClusterType_short (BYTE)1
|
| 162 | #define ZPS_IR_GsmGapClusterType_short Z_IR_GsmGapClusterType_short
|
| 163 | #define Z_IR_GsmGapClusterType_long (BYTE)2
|
| 164 | #define ZPS_IR_GsmGapClusterType_long Z_IR_GsmGapClusterType_long
|
| 165 | #define Z_IR_SearchPrioMode_Off (BYTE)0
|
| 166 | #define ZPS_IR_SearchPrioMode_Off Z_IR_SearchPrioMode_Off
|
| 167 | #define Z_IR_SearchPrioMode_On (BYTE)1
|
| 168 | #define ZPS_IR_SearchPrioMode_On Z_IR_SearchPrioMode_On
|
| 169 |
|
| 170 | #ifdef SINGLE_ANTENNA_SUPPORT
|
| 171 | #define Z_IR_IRAT_GSM_PRIO_MEAS_PERIOD_IDLE (BYTE)38
|
| 172 | #define ZPS_IR_IRAT_GSM_PRIO_MEAS_PERIOD_IDLE Z_IR_IRAT_GSM_PRIO_MEAS_PERIOD_IDLE
|
| 173 | #else
|
| 174 | #define Z_IR_IRAT_GSM_PRIO_MEAS_PERIOD_IDLE (BYTE)32
|
| 175 | #define ZPS_IR_IRAT_GSM_PRIO_MEAS_PERIOD_IDLE Z_IR_IRAT_GSM_PRIO_MEAS_PERIOD_IDLE
|
| 176 | #endif
|
| 177 | /* =============================== l1ud_meas.h, end ==================================== */
|
| 178 |
|
| 179 | /* max. number of cells that are being kept synchronized */
|
| 180 | #define MAX_IR_SYNC_INFO_CELLS (BYTE)10 //(MAX_REPORTED_GSM_CELLS + 2)
|
| 181 |
|
| 182 | /* ================================ l1u_irat.h, begin ================================== */
|
| 183 | /* max. number of cells that are being kept synchronized */
|
| 184 | #define Z_IR_MAX_IR_SYNC_INFO_CELLS MAX_IR_SYNC_INFO_CELLS
|
| 185 | #define ZPS_IR_MAX_IR_SYNC_INFO_CELLS Z_IR_MAX_IR_SYNC_INFO_CELLS
|
| 186 |
|
| 187 | /*
|
| 188 | ** Indicates the type of InterRAT timing control in which we work, e.g. for SB
|
| 189 | */
|
| 190 | #define Z_IR_UMTS_TIMING_CTRL (BYTE)0 /* UMTS does most of the timing calculation */
|
| 191 | #define ZPS_IR_UMTS_TIMING_CTRL Z_IR_UMTS_TIMING_CTRL
|
| 192 | #define Z_IR_GSM_TIMING_CTRL (BYTE)1 /* GSM does most of the timing calculation */
|
| 193 | #define ZPS_IR_GSM_TIMING_CTRL Z_IR_GSM_TIMING_CTRL
|
| 194 |
|
| 195 | /* ================================= l1u_irat.h, end ================================== */
|
| 196 |
|
| 197 |
|
| 198 | /* ================================= l1u_irat_misc.h, begin ================================== */
|
| 199 | /* requests to UMTS InterRAT handler */
|
| 200 | #define Z_IR_DEAC_UMTS_REQ (BYTE)0
|
| 201 | #define ZPS_IR_DEAC_UMTS_REQ Z_IR_DEAC_UMTS_REQ
|
| 202 | #define Z_IR_SUSPEND_GSM_REQ (BYTE)1
|
| 203 | #define ZPS_IR_SUSPEND_GSM_REQ Z_IR_SUSPEND_GSM_REQ
|
| 204 | #define Z_IR_RESUME_GSM_REQ (BYTE)2
|
| 205 | #define ZPS_IR_RESUME_GSM_REQ Z_IR_RESUME_GSM_REQ
|
| 206 |
|
| 207 | /* confirm to UMTS InterRAT handler */
|
| 208 | #define Z_IR_NO_CNF (BYTE)0
|
| 209 | #define ZPS_IR_NO_CNF Z_IR_NO_CNF
|
| 210 | #define Z_IR_DEAC_UMTS_CNF (BYTE)1
|
| 211 | #define ZPS_IR_DEAC_UMTS_CNF Z_IR_DEAC_UMTS_CNF
|
| 212 | #define Z_IR_SUSPEND_GSM_CNF (BYTE)2
|
| 213 | #define ZPS_IR_SUSPEND_GSM_CNF Z_IR_SUSPEND_GSM_CNF
|
| 214 | #define Z_IR_RESUME_GSM_CNF (BYTE)3
|
| 215 | #define ZPS_IR_RESUME_GSM_CNF Z_IR_RESUME_GSM_CNF
|
| 216 | /* ================================= l1u_irat_misc.h, end ================================== */
|
| 217 |
|
| 218 | /* ================================= l1ud_tstamp.h, begin ================================== */
|
| 219 | /* modes for getting timestamps */
|
| 220 | #define Z_IR_TS_MODE_INVALID (BYTE)0
|
| 221 | #define ZPS_IR_TS_MODE_INVALID Z_IR_TS_MODE_INVALID
|
| 222 | #define Z_IR_TS_MODE_NONSTOP (BYTE)1 /* getting timestamps takes place fast as possible */
|
| 223 | #define ZPS_IR_TS_MODE_NONSTOP Z_IR_TS_MODE_NONSTOP
|
| 224 | #define Z_IR_TS_MODE_PAUSING (BYTE)2 /* take a break after getting a timestamp */
|
| 225 | #define ZPS_IR_TS_MODE_PAUSING Z_IR_TS_MODE_PAUSING
|
| 226 |
|
| 227 | /* modes for evaluating the antenna gaps */
|
| 228 | #define Z_IR_GAPS_IGNORED (BYTE)0 /* reporting of possibly calculated gaps according UMTS
|
| 229 | ** antenna activities on GSM side are ignored
|
| 230 | ** -> zIR_l1ud_tstamp_is_antenna_ready_for_gsm(..) always TRUE
|
| 231 | */
|
| 232 | #define ZPS_IR_GAPS_IGNORED Z_IR_GAPS_IGNORED
|
| 233 | #define Z_IR_GAPS_EVALUATED (BYTE)1 /* gaps according UMTS antenna activities are evaluated*/
|
| 234 | #define ZPS_IR_GAPS_EVALUATED Z_IR_GAPS_EVALUATED
|
| 235 |
|
| 236 | #define Z_IR_TSTAMP_SFN_BASED (BYTE)0
|
| 237 | #define ZPS_IR_TSTAMP_SFN_BASED Z_IR_TSTAMP_SFN_BASED
|
| 238 | #define Z_IR_TSTAMP_CFN_BASED (BYTE)1
|
| 239 | #define ZPS_IR_TSTAMP_CFN_BASED Z_IR_TSTAMP_CFN_BASED
|
| 240 |
|
| 241 | #define Z_IR_MDO_RESEL (BYTE)0
|
| 242 | #define ZPS_IR_MDO_RESEL Z_IR_MDO_RESEL
|
| 243 | #define Z_IR_MDO_EXT_MEAS (BYTE)1
|
| 244 | #define ZPS_IR_MDO_EXT_MEAS Z_IR_MDO_EXT_MEAS
|
| 245 | //#if (defined(GPRS) && defined(UMTS))
|
| 246 | #define Z_IR_MDO_UMTS (BYTE)2
|
| 247 | #define ZPS_IR_MDO_UMTS Z_IR_MDO_UMTS
|
| 248 | //#endif /* (defined(GPRS) && defined(UMTS)) */
|
| 249 | #define Z_IR_MDO_PURPOSE_COUNT (BYTE)3
|
| 250 | #define ZPS_IR_MDO_PURPOSE_COUNT Z_IR_MDO_PURPOSE_COUNT
|
| 251 |
|
| 252 | /*Òý×Ôms.hÖв¨¶ÎµÄºê¶¨Ò壬Ϊ±ÜÃâ°üº¬ms.h¹ÊÖØÐ¶¨Òå*/
|
| 253 | #define Z_IR_MS_GSM900 (BYTE)0
|
| 254 | #define ZPS_IR_MS_GSM900 Z_IR_MS_GSM900
|
| 255 | #define Z_IR_MS_GSM900_P (BYTE)1
|
| 256 | #define ZPS_IR_MS_GSM900_P Z_IR_MS_GSM900_P
|
| 257 | #define Z_IR_MS_GSM900_E (BYTE)2
|
| 258 | #define ZPS_IR_MS_GSM900_E Z_IR_MS_GSM900_E
|
| 259 | #define Z_IR_MS_GSM900_R (BYTE)3
|
| 260 | #define ZPS_IR_MS_GSM900_R Z_IR_MS_GSM900_R
|
| 261 | #define Z_IR_MS_GSM1800 (BYTE)4
|
| 262 | #define ZPS_IR_MS_GSM1800 Z_IR_MS_GSM1800
|
| 263 | #define Z_IR_MS_GSM1900 (BYTE)5
|
| 264 | #define ZPS_IR_MS_GSM1900 Z_IR_MS_GSM1900
|
| 265 | #define Z_IR_MS_GSM850 (BYTE)6
|
| 266 | #define ZPS_IR_MS_GSM850 Z_IR_MS_GSM850
|
| 267 | #define Z_IR_MS_GSM450 (BYTE)7
|
| 268 | #define ZPS_IR_MS_GSM450 Z_IR_MS_GSM450
|
| 269 | #define Z_IR_MS_GSM480 (BYTE)8
|
| 270 | #define ZPS_IR_MS_GSM480 Z_IR_MS_GSM480
|
| 271 | #define Z_IR_MS_GSM750 (BYTE)9
|
| 272 | #define ZPS_IR_MS_GSM750 Z_IR_MS_GSM750
|
| 273 | #define Z_IR_MS_GSM_T_GSM_380 (BYTE)10
|
| 274 | #define ZPS_IR_MS_GSM_T_GSM_380 Z_IR_MS_GSM_T_GSM_380
|
| 275 | #define Z_IR_MS_GSM_T_GSM_410 (BYTE)11
|
| 276 | #define ZPS_IR_MS_GSM_T_GSM_410 Z_IR_MS_GSM_T_GSM_410
|
| 277 | #define Z_IR_MS_GSM_T_GSM_900 (BYTE)12
|
| 278 | #define ZPS_IR_MS_GSM_T_GSM_900 Z_IR_MS_GSM_T_GSM_900
|
| 279 | #define Z_IR_MS_MULTIBAND (BYTE)13
|
| 280 | #define ZPS_IR_MS_MULTIBAND Z_IR_MS_MULTIBAND
|
| 281 | #define Z_IR_MS_UMTS_FDD (BYTE)14
|
| 282 | #define ZPS_IR_MS_UMTS_FDD Z_IR_MS_UMTS_FDD
|
| 283 | #define Z_IR_MS_UMTS_TDD (BYTE)15
|
| 284 | #define ZPS_IR_MS_UMTS_TDD Z_IR_MS_UMTS_TDD
|
| 285 | #define Z_IR_INVALID_BAND (BYTE)16
|
| 286 | #define ZPS_IR_INVALID_BAND Z_IR_INVALID_BAND
|
| 287 |
|
| 288 | /* ================================= l1ud_tstamp.h, end ================================== */
|
| 289 |
|
| 290 | /* ================================= l1u_mdb.h ========================================= */
|
| 291 | #define Z_IR_NOF_UTRAN_CELLS_PER_FREQUENCY (BYTE)32
|
| 292 | #define ZPS_IR_NOF_UTRAN_CELLS_PER_FREQUENCY Z_IR_NOF_UTRAN_CELLS_PER_FREQUENCY
|
| 293 |
|
| 294 | #define Z_IR_NOF_CELL_LIST_FREQUENCIES (BYTE)16
|
| 295 | #define ZPS_IR_NOF_CELL_LIST_FREQUENCIES Z_IR_NOF_CELL_LIST_FREQUENCIES
|
| 296 |
|
| 297 | #define Z_IR_INVALID_UARFCN (WORD)0xFFFF
|
| 298 | #define ZPS_IR_INVALID_UARFCN Z_IR_INVALID_UARFCN
|
| 299 | #define Z_IR_INVALID_DL_PSC (WORD)0xFFFF
|
| 300 | #define ZPS_IR_INVALID_DL_PSC Z_IR_INVALID_DL_PSC
|
| 301 |
|
| 302 | #define Z_IR_UTRAN_IRAT_MEAS_DISABLED (BYTE)0
|
| 303 | #define ZPS_IR_UTRAN_IRAT_MEAS_DISABLED Z_IR_UTRAN_IRAT_MEAS_DISABLED
|
| 304 | #define Z_IR_UTRAN_IRAT_MEAS_ENABLED (BYTE)1
|
| 305 | #define ZPS_IR_UTRAN_IRAT_MEAS_ENABLED Z_IR_UTRAN_IRAT_MEAS_ENABLED
|
| 306 | #define Z_IR_UTRAN_IRAT_MEAS_DED (BYTE)2
|
| 307 | #define ZPS_IR_UTRAN_IRAT_MEAS_DED Z_IR_UTRAN_IRAT_MEAS_DED
|
| 308 | #define Z_IR_UTRAN_IRAT_MEAS_NC (BYTE)4
|
| 309 | #define ZPS_IR_UTRAN_IRAT_MEAS_NC Z_IR_UTRAN_IRAT_MEAS_NC
|
| 310 | #define Z_IR_UTRAN_IRAT_MEAS_ALL (BYTE)7
|
| 311 | #define ZPS_IR_UTRAN_IRAT_MEAS_ALL Z_IR_UTRAN_IRAT_MEAS_ALL
|
| 312 |
|
| 313 | #define Z_IR_MDO_GAP_MODE_LONG (BYTE)0
|
| 314 | #define ZPS_IR_MDO_GAP_MODE_LONG Z_IR_MDO_GAP_MODE_LONG
|
| 315 | #define Z_IR_MDO_GAP_MODE_SHORT (BYTE)1
|
| 316 | #define ZPS_IR_MDO_GAP_MODE_SHORT Z_IR_MDO_GAP_MODE_SHORT
|
| 317 |
|
| 318 | #define Z_IR_CELL_LIST_0 (BYTE)0
|
| 319 | #define ZPS_IR_CELL_LIST_0 Z_IR_CELL_LIST_0
|
| 320 | #define Z_IR_CELL_LIST_1 (BYTE)1
|
| 321 | #define ZPS_IR_CELL_LIST_1 Z_IR_CELL_LIST_1
|
| 322 | #define Z_IR_CELL_LIST_2 (BYTE)8
|
| 323 | #define ZPS_IR_CELL_LIST_2 Z_IR_CELL_LIST_2
|
| 324 | #define Z_IR_CELL_LIST_ID_UNKNOWN (BYTE)0xFF
|
| 325 | #define ZPS_IR_CELL_LIST_ID_UNKNOWN Z_IR_CELL_LIST_ID_UNKNOWN
|
| 326 |
|
| 327 | #define Z_IR_UTRAN_INACTIVE (BYTE)0
|
| 328 | #define ZPS_IR_UTRAN_INACTIVE Z_IR_UTRAN_INACTIVE
|
| 329 | #define Z_IR_UTRAN_ACTIVE (BYTE)1
|
| 330 | #define ZPS_IR_UTRAN_ACTIVE Z_IR_UTRAN_ACTIVE
|
| 331 | #define Z_IR_UTRAN_SUSPEND (BYTE)2
|
| 332 | #define ZPS_IR_UTRAN_SUSPEND Z_IR_UTRAN_SUSPEND
|
| 333 | #define Z_IR_UTRAN_FINISHED (BYTE)3
|
| 334 | #define ZPS_IR_UTRAN_FINISHED Z_IR_UTRAN_FINISHED
|
| 335 |
|
| 336 | #define Z_IR_MAX_GSM_CELL_CNT (BYTE)32
|
| 337 | #define ZPS_IR_MAX_GSM_CELL_CNT Z_IR_MAX_GSM_CELL_CNT
|
| 338 | #define Z_LTE_P_MAX_IRAT_REPORT_CELL_PER_FREQ (BYTE)32
|
| 339 | #define ZPS_LTE_P_MAX_IRAT_REPORT_CELL_PER_FREQ Z_LTE_P_MAX_IRAT_REPORT_CELL_PER_FREQ
|
| 340 |
|
| 341 | /* ================================= 1u_mdb.h, end ======================================*/
|
| 342 |
|
| 343 |
|
| 344 | /**************************************************************************
|
| 345 | * È«¾ÖÊý¾ÝÀàÐÍ *
|
| 346 | **************************************************************************/
|
| 347 | /*========================================================================
|
| 348 | = 3GΪÖ÷ʱ£¬2G´ý²âÁ¿Ð¡Çø¶¨Ò壨Óëms.hÖÐT_MON_MEAS_RESULT_GSM_ELEMENTÏàͬ£©=
|
| 349 | =========================================================================*/
|
| 350 | typedef struct
|
| 351 | {
|
| 352 | BYTE cell_id; /*L1GËù±£´æBAÁбíµÄË÷ÒýÖµ*/
|
| 353 | BYTE bsic;
|
| 354 | CHAR rssi;
|
| 355 | } T_zIR_MON_MEAS_RESULT_GSM_ELEMENT,T_zPS_IR_MON_MEAS_RESULT_GSM_ELEMENT;
|
| 356 | /*========================================================================
|
| 357 | = 3GΪÖ÷ʱ£¬ÇëÇó»ñÈ¡L1G±£´æµÄBAÁбí =
|
| 358 | =========================================================================*/
|
| 359 | typedef WORD T_RADIO_FREQ_NO;
|
| 360 | typedef BYTE T_BSIC;
|
| 361 |
|
| 362 | typedef struct {
|
| 363 | T_RADIO_FREQ_NO A[32];
|
| 364 | } T_CHAN_LIST;
|
| 365 |
|
| 366 | typedef T_CHAN_LIST T_zIR_CHAN_LIST;
|
| 367 | typedef T_zIR_CHAN_LIST T_zPS_IR_CHAN_LIST;
|
| 368 |
|
| 369 | typedef struct T_BCCH_LIST_s {
|
| 370 | BYTE num_of_chans;
|
| 371 | T_CHAN_LIST chan_number;
|
| 372 | } T_BCCH_LIST;
|
| 373 |
|
| 374 | typedef T_BCCH_LIST T_zIR_BCCH_LIST;
|
| 375 | typedef T_zIR_BCCH_LIST T_zPS_IR_BCCH_LIST;
|
| 376 |
|
| 377 | /*========================================================================
|
| 378 | = 2GΪÖ÷ʱ£¬²âÁ¿ÇëÇó²ÎÊýµÄÊý¾Ý½á¹¹ =
|
| 379 | =========================================================================*/
|
| 380 | typedef struct
|
| 381 | {
|
| 382 | WORD wUarfcn;
|
| 383 | BYTE bNum_of_cells;
|
| 384 | BYTE bPadding;
|
| 385 |
|
| 386 | WORD atCellInfo[Z_IR_MAX_INTER_FREQ_CELL_NUM];
|
| 387 | } T_zIR_UMeasUarfcn,T_zPS_IR_UMeasUarfcn;
|
| 388 |
|
| 389 | typedef struct
|
| 390 | {
|
| 391 | BYTE bMeas_reference;
|
| 392 | BYTE bNum_of_uarfcns; /*´ý²âƵµãÊý*/
|
| 393 | T_zIR_UMeasUarfcn atUarfcn[Z_IR_MCR_MAX_FREQ];
|
| 394 | } T_zIR_UMeasParams,T_zPS_IR_UMeasParams;
|
| 395 |
|
| 396 | /*========================================================================
|
| 397 | = 2GΪÖ÷ʱ£¬²âÁ¿½á¹ûÉϱ¨²ÎÊýµÄÊý¾Ý½á¹¹ =
|
| 398 | =========================================================================*/
|
| 399 | typedef struct
|
| 400 | {
|
| 401 | BYTE bUcell_param;
|
| 402 | BYTE bRscp;
|
| 403 | } T_zIR_UMeasCellsRlt,T_zPS_IR_UMeasCellsRlt;
|
| 404 |
|
| 405 | typedef struct
|
| 406 | {
|
| 407 | WORD wUarfcn;
|
| 408 | WORD wPadding;
|
| 409 |
|
| 410 | DWORD dwMeasured_cells; /*ÒѲâÐ¡ÇøµÄBITMAP*/
|
| 411 |
|
| 412 | T_zIR_UMeasCellsRlt atCellRlt[Z_IR_MAX_INTER_FREQ_CELL_NUM];
|
| 413 | } T_zIR_UMeasFreqRlt,T_zPS_IR_UMeasFreqRlt;
|
| 414 |
|
| 415 | typedef struct
|
| 416 | {
|
| 417 | BYTE bMeas_reference; /*L1GÄÚ²¿Ê¹ÓõIJâÁ¿±àºÅ£¬ÓÃÀ´ÅжϲâÁ¿ÊÇ·ñ¸Ä±ä*/
|
| 418 | BYTE bnof_freq; /*Éϱ¨µÄƵµãÊý*/
|
| 419 | BYTE abPadding[2];
|
| 420 |
|
| 421 | T_zIR_UMeasFreqRlt atFreqRlt[Z_IR_MCR_MAX_FREQ];
|
| 422 | } T_zIR_UMeasRltList,T_zPS_IR_UMeasRltList;
|
| 423 |
|
| 424 | /*========================================================================
|
| 425 | = GSM Timing information as communicated from UMTS
|
| 426 | = For details on timestamp reading, please see the dspec
|
| 427 | =========================================================================*/
|
| 428 | typedef long T_L1_HYPER_FRAME_NO;
|
| 429 | typedef WORD T_L1_QBITS;
|
| 430 |
|
| 431 | typedef struct
|
| 432 | {
|
| 433 | T_L1_HYPER_FRAME_NO tfn;
|
| 434 | T_L1_QBITS t_off;
|
| 435 | } T_IR_TDMA_TIME_INFO;
|
| 436 |
|
| 437 | typedef T_IR_TDMA_TIME_INFO T_zIR_TDMA_TIME_INFO;
|
| 438 | typedef T_zIR_TDMA_TIME_INFO T_zPS_IR_TDMA_TIME_INFO;
|
| 439 |
|
| 440 | /*========================================================================
|
| 441 | L1TÓëL1G¹²Óýṹ¶¨Ò壨¼Ì³Ð×ÔComneon´úÂ룩
|
| 442 | =========================================================================*/
|
| 443 | /* ================================ l1u_irat.h, begin ================================== */
|
| 444 | /*
|
| 445 | ** This enum indicates the sync status of a BS
|
| 446 | */
|
| 447 | typedef enum
|
| 448 | {
|
| 449 | IR_NO_SYNC, /* unsynced (no FCB, no SB) */
|
| 450 | IR_FCB_SEARCH_PENDING, /* unsynced, but FCB attempted */
|
| 451 | IR_FCB_SYNC, /* unsynced, but FCB found */
|
| 452 | IR_SB_SYNC, /* synced (FCB and SB) */
|
| 453 | IR_SB_RECONF, /* SB needs to be reconfirmed */
|
| 454 | IR_INVALID_SYNC /* unsynced (or reconf failed) */
|
| 455 | } T_IR_GSM_SYNC_STATUS;
|
| 456 |
|
| 457 | /*
|
| 458 | ** Indicates whether initial SB read or SB reconfirmation is desired
|
| 459 | */
|
| 460 | typedef enum
|
| 461 | {
|
| 462 | IR_INIT_SB_READ, /* initial SB read desired */
|
| 463 | IR_RECONF_SB_READ /* SB reconfirmation desired */
|
| 464 | } T_IR_SB_READ_TYPE;
|
| 465 |
|
| 466 |
|
| 467 | typedef enum |
| 468 | { |
| 469 | L1G_IRAT_XCELL = 0, |
| 470 | L1G_IRAT_RESEL_GSM2UTRAN, |
| 471 | L1G_IRAT_RESEL_GSM2LTE, |
| 472 | L1G_IRAT_REDIRECT_GSM2UTRAN, |
| 473 | L1G_IRAT_REDIRECT_GSM2LTE, |
| 474 | L1G_IRAT_CCO_GSM2UTRAN, |
| 475 | L1G_IRAT_CCO_GSM2LTE, |
| 476 | L1G_IRAT_CSHO_GSM2UTRAN, |
| 477 | L1G_IRAT_PSHO_GSM2UTRAN, |
| 478 | L1G_IRAT_PSHO_GSM2LTE |
| 479 | } T_L1G_IRAT_SCENE_TYPE; |
| 480 |
|
| 481 |
|
| 482 |
|
| 483 | typedef T_IR_GSM_SYNC_STATUS T_zIR_GSM_SYNC_STATUS;
|
| 484 | typedef T_zIR_GSM_SYNC_STATUS T_zPS_IR_GSM_SYNC_STATUS;
|
| 485 | typedef BYTE T_zIR_TIMING_CTRL;
|
| 486 | typedef T_zIR_TIMING_CTRL T_zPS_IR_TIMING_CTRL;
|
| 487 | typedef T_IR_SB_READ_TYPE T_zIR_SB_READ_TYPE;
|
| 488 | typedef T_zIR_SB_READ_TYPE T_zPS_IR_SB_READ_TYPE;
|
| 489 | typedef BYTE T_zIR_HANDLER_REQ_TYPE;
|
| 490 | typedef T_zIR_HANDLER_REQ_TYPE T_zPS_IR_HANDLER_REQ_TYPE;
|
| 491 |
|
| 492 | /* ** This enum indicates the sync status of a BS */
|
| 493 | #define Z_IR_NO_SYNC IR_NO_SYNC /* unsynced (no FCB, no SB) */
|
| 494 | #define ZPS_IR_NO_SYNC Z_IR_NO_SYNC
|
| 495 | #define Z_IR_FCB_SEARCH_PENDING IR_FCB_SEARCH_PENDING /* unsynced, but FCB attempted */
|
| 496 | #define ZPS_IR_FCB_SEARCH_PENDING Z_IR_FCB_SEARCH_PENDING
|
| 497 | #define Z_IR_FCB_SYNC IR_FCB_SYNC /* unsynced, but FCB found */
|
| 498 | #define ZPS_IR_FCB_SYNC Z_IR_FCB_SYNC
|
| 499 | #define Z_IR_SB_SYNC IR_SB_SYNC /* synced (FCB and SB) */
|
| 500 | #define ZPS_IR_SB_SYNC Z_IR_SB_SYNC
|
| 501 | #define Z_IR_SB_RECONF IR_SB_RECONF /* SB needs to be reconfirmed */
|
| 502 | #define ZPS_IR_SB_RECONF Z_IR_SB_RECONF
|
| 503 | #define Z_IR_INVALID_SYNC IR_INVALID_SYNC /* unsynced (or reconf failed) */
|
| 504 | #define ZPS_IR_INVALID_SYNC Z_IR_INVALID_SYNC
|
| 505 |
|
| 506 | /*
|
| 507 | ** Indicates whether initial SB read or SB reconfirmation is desired
|
| 508 | */
|
| 509 | #define Z_IR_INIT_SB_READ IR_INIT_SB_READ /* initial SB read desired */
|
| 510 | #define ZPS_IR_INIT_SB_READ Z_IR_INIT_SB_READ
|
| 511 | #define Z_IR_RECONF_SB_READ IR_RECONF_SB_READ /* SB reconfirmation desired */
|
| 512 | #define ZPS_IR_RECONF_SB_READ Z_IR_RECONF_SB_READ
|
| 513 |
|
| 514 | #define Z_GSM_RPI_SUPPORT_MAX_BAND (BYTE)8
|
| 515 |
|
| 516 | /*
|
| 517 | ** This type is used to select "allowed bands" for RSSI measurements
|
| 518 | ** For band n (from T_GSM_BAND) bit 1<<n is set in the mask.
|
| 519 | **
|
| 520 | */
|
| 521 | typedef DWORD T_zIR_IR_GSM_BAND_MASK;
|
| 522 | typedef T_zIR_IR_GSM_BAND_MASK T_zPS_IR_IR_GSM_BAND_MASK;
|
| 523 |
|
| 524 | /*
|
| 525 | ** General return fct stucture, to be used in most InterRAT functionality
|
| 526 | */
|
| 527 | typedef struct
|
| 528 | {
|
| 529 | VOID (*func)(BYTE, BYTE);
|
| 530 | BYTE para;
|
| 531 | } T_zIR_RESULT_FUNCTION,T_zPS_IR_RESULT_FUNCTION;
|
| 532 |
|
| 533 | /*
|
| 534 | ** Table with GSM cell info for all reported cells
|
| 535 | */
|
| 536 | typedef struct T_L1_CELL_INFO_GSM_s {
|
| 537 | T_RADIO_FREQ_NO arfcn;
|
| 538 | T_BSIC bsic;
|
| 539 | } T_L1_CELL_INFO_GSM;
|
| 540 |
|
| 541 | typedef T_L1_CELL_INFO_GSM T_zIR_CELL_INFO_GSM;
|
| 542 | typedef T_zIR_CELL_INFO_GSM T_zPS_IR_CELL_INFO_GSM;
|
| 543 |
|
| 544 | typedef struct
|
| 545 | {
|
| 546 | BYTE nof_cells ;
|
| 547 | T_L1_CELL_INFO_GSM rep_cell_info[MAX_IR_SYNC_INFO_CELLS];
|
| 548 | T_IR_GSM_SYNC_STATUS status[MAX_IR_SYNC_INFO_CELLS];
|
| 549 | } T_IR_REP_CELL_TABLE;
|
| 550 |
|
| 551 | typedef T_IR_REP_CELL_TABLE T_zIR_REP_CELL_TABLE;
|
| 552 | typedef T_zIR_REP_CELL_TABLE T_zPS_IR_REP_CELL_TABLE;
|
| 553 |
|
| 554 | typedef struct
|
| 555 | {
|
| 556 | T_zIR_REP_CELL_TABLE cell_info;
|
| 557 | T_zIR_TDMA_TIME_INFO sb_time_info[Z_IR_MAX_IR_SYNC_INFO_CELLS];
|
| 558 | }T_zIR_SB_INFO_TABLE,T_zPS_IR_SB_INFO_TABLE;
|
| 559 | /*
|
| 560 | ** Structure which provides all sync info on each GSM cell,
|
| 561 | ** neccessary for BSIC read/verification.
|
| 562 | */
|
| 563 | typedef struct
|
| 564 | {
|
| 565 | T_RADIO_FREQ_NO arfcn;
|
| 566 | T_IR_GSM_SYNC_STATUS status;
|
| 567 | T_IR_TDMA_TIME_INFO timing;
|
| 568 | WORD invalid_time_remaining;
|
| 569 | } T_IR_CELL_SYNC_DATA;
|
| 570 |
|
| 571 | typedef T_IR_CELL_SYNC_DATA T_zIR_CELL_SYNC_DATA;
|
| 572 | typedef T_zIR_CELL_SYNC_DATA T_zPS_IR_CELL_SYNC_DATA;
|
| 573 |
|
| 574 | /*
|
| 575 | ** Array of the sync data for all reported cells
|
| 576 | */
|
| 577 | typedef struct
|
| 578 | {
|
| 579 | BYTE nof_cells;
|
| 580 | T_zIR_CELL_SYNC_DATA sync_data[Z_IR_MAX_IR_SYNC_INFO_CELLS];
|
| 581 | } T_zIR_CELL_SYNC_QUERY_DATA,T_zPS_IR_CELL_SYNC_QUERY_DATA;
|
| 582 |
|
| 583 | /* Structure is used to combine some parameters.*/
|
| 584 | typedef struct
|
| 585 | {
|
| 586 | BYTE numRemainingGaps; /*same as in struct hciGsmInactiveTimeReq_t*/
|
| 587 | BYTE searchPrioMode; /*same as in struct hciGsmInactiveTimeReq_t*/
|
| 588 | BYTE clusterType; /*same as in struct hciGsmInactiveTimeReq_t*/
|
| 589 | } T_zIR_CLUSTER_INFO,T_zPS_IR_CLUSTER_INFO;
|
| 590 |
|
| 591 | //typedef WORD T_RADIO_FREQ_NO;
|
| 592 | //typedef BYTE T_RXLEV;
|
| 593 | //typedef BYTE T_BSIC;
|
| 594 | //typedef WORD T_L1_QBITS;
|
| 595 | //typedef DWORD T_L1_HYPER_FRAME_NO;
|
| 596 |
|
| 597 | typedef struct
|
| 598 | {
|
| 599 | WORD arfcn; /*ComneonÖÐÀàÐͶ¨ÒåΪT_RADIO_FREQ_NO*/
|
| 600 | BYTE rxlev_avgr; /*ComneonÖÐÀàÐͶ¨ÒåΪT_RXLEV*/
|
| 601 | BYTE bsic; /*ComneonÖÐÀàÐͶ¨ÒåΪT_BSIC*/
|
| 602 | BYTE band; /* T_GSM_BAND not used to save RAM */
|
| 603 | BYTE nwin_idx;
|
| 604 | WORD timing_offset; /*ComneonÖÐÀàÐͶ¨ÒåΪT_L1_QBITS*/
|
| 605 | DWORD fn_offset; /*ComneonÖÐÀàÐͶ¨ÒåΪT_L1_HYPER_FRAME_NO*/
|
| 606 | }T_zIR_MDO_NCELL_ELEM,T_zPS_IR_MDO_NCELL_ELEM;
|
| 607 |
|
| 608 | typedef BYTE T_zIR_MDO_PURPOSE;
|
| 609 | typedef T_zIR_MDO_PURPOSE T_zPS_IR_MDO_PURPOSE;
|
| 610 |
|
| 611 | /*========================================================================
|
| 612 | L1TÓëL1G¹²Óýṹ¶¨Ò壨¼Ì³Ð×ÔComneon´úÂ룩
|
| 613 | =========================================================================*/
|
| 614 | /* ================================ l1u_mdb.h, begin ================================== */
|
| 615 | typedef BYTE T_zIR_CELL_LIST_ID;
|
| 616 | typedef T_zIR_CELL_LIST_ID T_zPS_IR_CELL_LIST_ID;
|
| 617 | typedef BYTE T_zIR_UTRAN_IRAT_MEAS;
|
| 618 | typedef T_zIR_UTRAN_IRAT_MEAS T_zPS_IR_UTRAN_IRAT_MEAS;
|
| 619 | typedef BYTE T_zIR_MDO_GAP_MODES;
|
| 620 | typedef T_zIR_MDO_GAP_MODES T_zPS_IR_MDO_GAP_MODES;
|
| 621 | typedef BYTE T_zIR_UTRAN_MEAS_STATE;
|
| 622 | typedef T_zIR_UTRAN_MEAS_STATE T_zPS_IR_UTRAN_MEAS_STATE;
|
| 623 |
|
| 624 | typedef struct
|
| 625 | {
|
| 626 | SHORT rscp;
|
| 627 | BYTE nof_results;
|
| 628 | } T_zIR_MDB_UTRAN_CELL_MEAS_BUFFER,T_zPS_IR_MDB_UTRAN_CELL_MEAS_BUFFER;
|
| 629 |
|
| 630 | typedef struct {
|
| 631 | BYTE index;
|
| 632 | WORD ucell_param;
|
| 633 | BYTE diversity;
|
| 634 | BYTE sync_case_tstd;
|
| 635 | } T_zIR_UTRAN_CELL_ON_FREQ,T_zPS_IR_UTRAN_CELL_ON_FREQ;
|
| 636 |
|
| 637 | typedef struct {
|
| 638 | T_zIR_UTRAN_CELL_ON_FREQ A[Z_IR_NOF_UTRAN_CELLS_PER_FREQUENCY];
|
| 639 | } T_zIR_UTRAN_CELL_FIELD,T_zPS_IR_UTRAN_CELL_FIELD;
|
| 640 |
|
| 641 | typedef struct
|
| 642 | {
|
| 643 | T_zIR_MDB_UTRAN_CELL_MEAS_BUFFER measurement[Z_IR_NOF_UTRAN_CELLS_PER_FREQUENCY];
|
| 644 | } T_zIR_MDB_NCELL_MEAS_PERIOD_DATA_SET, * T_zIR_MDB_NCELL_MEAS_PERIOD_DATA_SET_PTR,
|
| 645 | T_zPS_IR_MDB_NCELL_MEAS_PERIOD_DATA_SET, * T_zPS_IR_MDB_NCELL_MEAS_PERIOD_DATA_SET_PTR;
|
| 646 |
|
| 647 | typedef struct
|
| 648 | {
|
| 649 | CHAR rscp; /*Comenon: char(½ºè)*/
|
| 650 | } T_zIR_MDB_MEAS_ELEMENT,T_zPS_IR_MDB_MEAS_ELEMENT;
|
| 651 |
|
| 652 | typedef struct
|
| 653 | {
|
| 654 | T_zIR_MDB_MEAS_ELEMENT measurement[Z_IR_NOF_UTRAN_CELLS_PER_FREQUENCY];
|
| 655 | } T_zIR_MDB_UTRAN_NCELL_MEAS_RESULT_SET, *T_zIR_MDB_UTRAN_NCELL_MEAS_RESULT_SET_PTR,
|
| 656 | T_zPS_IR_MDB_UTRAN_NCELL_MEAS_RESULT_SET, *T_zPS_IR_MDB_UTRAN_NCELL_MEAS_RESULT_SET_PTR;
|
| 657 |
|
| 658 | typedef struct {
|
| 659 | BYTE index;
|
| 660 | BYTE length;
|
| 661 | WORD dl_uarfcn; /*Comneon: unsigned short(½ºè)*/
|
| 662 | T_zIR_UTRAN_CELL_FIELD utran_cell;
|
| 663 | }T_zIR_MDB_CELL_LIST_DATA_SET, *T_zIR_MDB_CELL_LIST_DATA_SET_PTR,
|
| 664 | T_zPS_IR_MDB_CELL_LIST_DATA_SET, *T_zPS_IR_MDB_CELL_LIST_DATA_SET_PTR;
|
| 665 |
|
| 666 | typedef struct
|
| 667 | {
|
| 668 | T_zIR_MDB_CELL_LIST_DATA_SET_PTR p_cell_list;
|
| 669 | T_zIR_MDB_NCELL_MEAS_PERIOD_DATA_SET_PTR p_period;
|
| 670 | T_zIR_MDB_UTRAN_NCELL_MEAS_RESULT_SET_PTR p_avg;
|
| 671 | } T_zIR_MDB_NCELL_LIST_DATA_SET,T_zPS_IR_MDB_NCELL_LIST_DATA_SET;
|
| 672 |
|
| 673 | typedef struct {
|
| 674 | WORD dl_uarfcn; /*Comneon: unsigned short(½ºè)*/
|
| 675 | BYTE nof_ncell;
|
| 676 | WORD utran_cell[Z_IR_NOF_UTRAN_CELLS_PER_FREQUENCY];
|
| 677 | } T_zIR_IRAT_UTRAN_CELLS_PER_FREQ,T_zPS_IR_IRAT_UTRAN_CELLS_PER_FREQ;
|
| 678 |
|
| 679 | typedef struct
|
| 680 | {
|
| 681 | BYTE meas_reference; /*Comneon: byte(½ºè)*/
|
| 682 | BYTE length; /*Comneon: byte(½ºè)*/
|
| 683 | #ifndef MULTI_IRAT_2963
|
| 684 | DWORD dwTmeasInial;/*³õʼ²âÁ¿ÖÜÆÚms£¬ÐèÒª²âÁ¿µÄƵµã¶¼ËÑË÷ºó£¬´ËÖÜÆÚ±äΪÎÞЧ */
|
| 685 | WORD wTmeas;/*Õý³£Éϱ¨ÖÜÆÚ*/
|
| 686 | #endif
|
| 687 | T_zIR_IRAT_UTRAN_CELLS_PER_FREQ A[Z_IR_NOF_CELL_LIST_FREQUENCIES];
|
| 688 | }T_zIR_L1G_TddCellMeasReq,T_zPS_IR_L1G_TddCellMeasReq;
|
| 689 |
|
| 690 | typedef struct {
|
| 691 | BYTE pccch_present;
|
| 692 | BYTE u3g_ba_ind;
|
| 693 | BYTE psi3_change_mark;
|
| 694 | BYTE pmo_ind;
|
| 695 | } T_zIR_RR_3G_LIST_ID,T_zPS_IR_RR_3G_LIST_ID;
|
| 696 |
|
| 697 | typedef struct{
|
| 698 | T_zIR_RR_3G_LIST_ID id_set[2];
|
| 699 | BYTE write_index;
|
| 700 | BYTE read_index;
|
| 701 | } T_zIR_U3G_LIST_ID_BUFFER,T_zPS_IR_U3G_LIST_ID_BUFFER;
|
| 702 |
|
| 703 | typedef struct{
|
| 704 | /* flag indicating if ncell measurements on a particular frequency are enabled */
|
| 705 | BYTE freq_enabled;
|
| 706 | /* backup of freq_enabled flag, needed for suspend mode */
|
| 707 | BYTE backup_freq_enabled;
|
| 708 | /* indicates that a report can be created */
|
| 709 | BYTE ncell_meas_complete;
|
| 710 | /* indicates for which cells there are recent results from HW */
|
| 711 | DWORD measured_cells;
|
| 712 | } T_zIR_UTRAN_NCELL_INFO,T_zPS_IR_UTRAN_NCELL_INFO;
|
| 713 |
|
| 714 | typedef struct{
|
| 715 | /* indicates that measurements can be started because qsearch threshold condition is fulfilled */
|
| 716 | BYTE qsearch_start_meas;
|
| 717 | /* indicates the RXLEV threshold value for the start of UMTS measurements ** in idle or packet transfer mode */
|
| 718 | BYTE qsearch_ip;
|
| 719 | /* indicates the RXLEV threshold value for the start of UMTS measurements connected mode */
|
| 720 | BYTE qsearch_c;
|
| 721 | /* Indicates the Qsearch value to be used in connected mode before Qsearch_C is received */
|
| 722 | BYTE qsearch_c_initial;
|
| 723 | /* indicates if 3G cells may be searched when BSIC decoding is required */
|
| 724 | BYTE search_prio;
|
| 725 | /* 3G_LIST_ID parameters sent by RR associated with the measurement request message */
|
| 726 | T_zIR_U3G_LIST_ID_BUFFER u3g_list_id;
|
| 727 | } T_zIR_CELL_PARAMS,T_zPS_IR_CELL_PARAMS;
|
| 728 |
|
| 729 | typedef struct{
|
| 730 | /* indicates that a new measurement request from RR has arrived */
|
| 731 | BYTE new_meas_req;
|
| 732 | /* indicates a new set of header params of the type T_RR_3G_LIST_ID for a new meas req */
|
| 733 | BYTE rr_3g_id_changed;
|
| 734 | /* indicates the overall on/off state of the Inter-RAT measurements */
|
| 735 | T_zIR_UTRAN_MEAS_STATE utran_state;
|
| 736 | /* Parameters to coordinate GSM tasks and UMTS measurements */
|
| 737 | T_zIR_CELL_PARAMS cell_params;
|
| 738 | BYTE supported_3g_networks;
|
| 739 | /* control data for ncell result processing */
|
| 740 | T_zIR_UTRAN_NCELL_INFO ncell_info[Z_IR_NOF_CELL_LIST_FREQUENCIES];
|
| 741 | WORD arfcn;
|
| 742 | /* indicates that measurement request data were sent either through MPH_UPDATE_DED_PARAM_REQ ** or MPH_START_NC_MEAS_REQ; flag is needed in the result handler */
|
| 743 | T_zIR_UTRAN_IRAT_MEAS meas_mode;
|
| 744 | /* indicates that an update (delta) of the current measurement request is pending. This may ** happen only in DCH mode. */
|
| 745 | BYTE dch_meas_delta_pending; /* indicates that a new measurement request came in while Interrat measurements are suspended */
|
| 746 | BYTE mdb_backup_obsolete; /* measurement ID that indentifies a measurement request on SDL and HW level */
|
| 747 | BYTE meas_reference;
|
| 748 | #if defined (SINGLE_ANTENNA_SUPPORT) /* counter for search frames, multiple of SEARCH_FRAMES_FOR_IRAT */
|
| 749 | WORD mfr26_cnt; /* counter for search frames which were used for iRAT, multiple of PERIOD_FOR_IRAT */
|
| 750 | WORD mfr26_taken_for_irat_cnt; /* counter for search frames inside a cluster, 0 no iRAT at the moment */
|
| 751 | WORD mfr26_cluster_for_irat_cnt; /* sum of connected search frames for iRAT measurement */
|
| 752 | WORD mfr26_cluster_size_for_irat; /* cluster mode */
|
| 753 | T_zIR_MDO_GAP_MODES mfr26_cluster_mode; /* Scheduling index for calculating priority for IRAT measurement */
|
| 754 | BYTE sched_idx;
|
| 755 | #endif /* (SINGLE_ANTENNA_SUPPORT) */
|
| 756 | } T_zIR_UTRAN_CTRL_DATA,T_zPS_IR_UTRAN_CTRL_DATA;
|
| 757 |
|
| 758 | typedef struct {
|
| 759 | BYTE bUcell_param;
|
| 760 | BYTE bRscp;
|
| 761 | } T_zIR_UtranMeasCellsResults,T_zPS_IR_UtranMeasCellsResults;
|
| 762 |
|
| 763 | typedef struct {
|
| 764 | WORD wUarfcn;
|
| 765 | DWORD dwMeasured_cells;
|
| 766 | T_zIR_UtranMeasCellsResults atCellRlt[Z_IR_NOF_UTRAN_CELLS_PER_FREQUENCY];
|
| 767 | } T_zIR_IratUmcrMeasResult,T_zPS_IR_IratUmcrMeasResult;
|
| 768 |
|
| 769 | typedef struct {
|
| 770 | BYTE index;
|
| 771 | WORD dl_uarfcn;
|
| 772 | BYTE length;
|
| 773 | T_zIR_UTRAN_CELL_FIELD utran_cell;
|
| 774 | } T_zIR_UTRAN_CELLS_PER_FREQ,T_zPS_IR_UTRAN_CELLS_PER_FREQ;
|
| 775 |
|
| 776 |
|
| 777 | /*========================================================================
|
| 778 | CBSÓëL1GÏûÏ¢½á¹¹¶¨Òå
|
| 779 | =========================================================================*/
|
| 780 | /* ================================ ms.h, begin ================================= */
|
| 781 | /*==============================================================================
|
| 782 | ÔÓL1MN_CBCH_DATA_IND(L1G->CBS)
|
| 783 | ˵Ã÷: L1GÉϱ¨µÄ23×Ö½ÚµÄÎÞÏß¿é
|
| 784 | ==============================================================================*/
|
| 785 | typedef struct {
|
| 786 | BYTE abBuf[23];
|
| 787 | } T_zCbs_L1MN_CBCH_DATA_IND; /* come from commneon yPDef_L1MN_CBCH_DATA_IND */
|
| 788 |
|
| 789 | /*==============================================================================
|
| 790 | ÔÓL1MN_CBCH_START_REQ(CBS->L1G)
|
| 791 | ˵Ã÷: CBS֪ͨL1GÆô¶¯CBS½ÓÊÕ, ¿ÕÏûÏ¢
|
| 792 | ==============================================================================*/
|
| 793 |
|
| 794 | /*==============================================================================
|
| 795 | ÔÓL1MN_CBCH_STOP_REQ((CBS->L1G)
|
| 796 | ˵Ã÷: CBS֪ͨL1GÍ£Ö¹CBS½ÓÊÕ, ¿ÕÏûÏ¢
|
| 797 | ==============================================================================*/
|
| 798 |
|
| 799 | /*==============================================================================
|
| 800 | ÔÓL1MN_CBCH_SKIP_REQ((CBS->L1G)
|
| 801 | ˵Ã÷: CBSÏòL1G·¢ËÍSkipÒ³ÃæÇëÇó
|
| 802 | ==============================================================================*/
|
| 803 | typedef struct {
|
| 804 | WORD wPageNo;
|
| 805 | } T_zCbs_L1MN_CBCH_SKIP_REQ; /* come from commneon yPDef_L1MN_CBCH_SKIP_REQ */
|
| 806 |
|
| 807 | /* ================================ ms.h, end ================================= */
|
| 808 |
|
| 809 |
|
| 810 | /******************************************************
|
| 811 | L1T->L1G
|
| 812 | ¹¦ÄÜ:
|
| 813 | L1TÏòL1G ÇëÇóÉ䯵×ÊÔ´,
|
| 814 | ÏûÏ¢¼°½á¹¹: Z_L1_TdGetRfFromGsm_Req£¨SDLÏûÏ¢£ºL1T_DEACT_GSM_REQ_EV£©
|
| 815 | NULL
|
| 816 | ******************************************************/
|
| 817 | /******************************************************
|
| 818 | L1G->L1T
|
| 819 | ¹¦ÄÜ:
|
| 820 | L1GÏòL1T»Ø¸´É䯵×ÊÔ´ÈóöÈ·ÈÏ
|
| 821 | ÏûÏ¢¼°½á¹¹: Z_L1_TdGetRfFromGsm_Cnf£¨SDLÏûÏ¢£ºL1T_DEACT_GSM_CNF_EV£©
|
| 822 | NULL
|
| 823 | ******************************************************/
|
| 824 |
|
| 825 | /******************************************************
|
| 826 | L1E->L1G
|
| 827 | ¹¦ÄÜ:
|
| 828 | L1EÏòL1GÇëÇóÉ䯵×ÊÔ´
|
| 829 | ÏûÏ¢¼°½á¹¹: Z_L1_LteGetRfFromGsm_Req£¨SDLÏûÏ¢£ºL1E_DEACT_GSM_REQ_EV£©
|
| 830 | NULL
|
| 831 | ******************************************************/
|
| 832 |
|
| 833 |
|
| 834 | /******************************************************
|
| 835 | L1G->L1E
|
| 836 | ¹¦ÄÜ:
|
| 837 | L1GÏòL1E»Ø¸´É䯵×ÊÔ´ÈóöÈ·ÈÏ
|
| 838 | ÏûÏ¢¼°½á¹¹: Z_L1_LteGetRfFromGsm_Cnf£¨SDLÏûÏ¢£ºL1E_DEACT_GSM_CNF_EV£©
|
| 839 | NULL
|
| 840 | ******************************************************/
|
| 841 | /******************************************************
|
| 842 | L1G->L1T
|
| 843 | ¹¦ÄÜ:
|
| 844 | L1GÏòL1TÇëÇóÉ䯵×ÊÔ´
|
| 845 | ÏûÏ¢¼°½á¹¹: Z_L1_GsmGetRfFromTd_Req£¨SDLÏûÏ¢£ºL1G_DEACT_UMTS_REQ_EV£©
|
| 846 | NULL
|
| 847 | ******************************************************/
|
| 848 | /******************************************************
|
| 849 | L1T->L1G
|
| 850 | ¹¦ÄÜ:
|
| 851 | L1TÏòL1G»Ø¸´É䯵×ÊÔ´ÈóöÈ·ÈÏ
|
| 852 | ÏûÏ¢¼°½á¹¹: Z_L1_GsmGetRfFromTd_Cnf£¨SDLÏûÏ¢£ºL1G_DEACT_UMTS_CNF_EV£©
|
| 853 | NULL
|
| 854 | ******************************************************/
|
| 855 |
|
| 856 | /******************************************************
|
| 857 | L1G->L1E
|
| 858 | ¹¦ÄÜ:
|
| 859 | L1GÏòL1EÇëÇóÉ䯵×ÊÔ´
|
| 860 | ÏûÏ¢¼°½á¹¹: Z_L1_GsmGetRfFromLte_Req£¨SDLÏûÏ¢£ºL1G_DEACT_LTE_REQ_EV£©
|
| 861 | NULL
|
| 862 | ******************************************************/
|
| 863 |
|
| 864 | /******************************************************
|
| 865 | L1E->L1G
|
| 866 | ¹¦ÄÜ:
|
| 867 | L1E ÏòL1G»Ø¸´É䯵×ÊÔ´ÈóöÈ·ÈÏ
|
| 868 | ÏûÏ¢¼°½á¹¹: Z_L1_GsmGetRfFromLte_Cnf£¨SDLÏûÏ¢£ºL1G_DEACT_LTE_CNF_EV£©
|
| 869 | NULL
|
| 870 | ******************************************************/
|
| 871 |
|
| 872 | /******************************************************
|
| 873 | L1E<->L1T
|
| 874 | ¹¦ÄÜ:
|
| 875 | TDΪÖ÷ʱ L1EÏòL1T ÇëÇóÉ䯵×ÊÔ´»òLTEΪÖ÷ʱ L1TÏòL1E ÇëÇóÉ䯵×ÊÔ´
|
| 876 | ÏûÏ¢¼°½á¹¹: Z_L1_GetRF_Req
|
| 877 | NULL
|
| 878 | ******************************************************/
|
| 879 | /******************************************************
|
| 880 | L1T<->L1E
|
| 881 | ¹¦ÄÜ:
|
| 882 | TDΪÖ÷ʱ L1TÏòL1E »Ø¸´Èóö×ÊÔ´È·ÈÏ»òLTEΪÖ÷ʱ L1EÏòL1T»Ø¸´Èóö×ÊÔ´È·ÈÏ
|
| 883 | ÏûÏ¢¼°½á¹¹: Z_L1_GetRF_Cnf
|
| 884 | NULL
|
| 885 | ******************************************************/
|
| 886 | /*L1G,L1T<->EPHY½Ó¿Ú*/
|
| 887 | /******************************************************
|
| 888 | ·½Ïò:L1G,L1T->EPHY
|
| 889 | ¹¦ÄÜ:LTEΪ¸¨Ä£Ê½µÄʱºò£¬L1G,L1TÅäÖÃLTEÎïÀí²ã²âÁ¿¡£
|
| 890 | ¶ÔÓÚLTEÎïÀí²ãÀ´Ëµ¿ÉÄÜÏÈÊÕµ½²âÁ¿¼°measmask,ºóÊÕµ½GAP£¬
|
| 891 | Ò²¿ÉÄÜÏÈÊÕµ½GAP,ºóÊÕµ½²âÁ¿ÁÐ±í¡£Èç¹ûÏÈÊÕµ½ÁбíºóÎïÀí
|
| 892 | ²ã²»»á²âÁ¿Ö±µ½ÊÕµ½GAP²Å»á²âÁ¿£¬Èç¹ûÏÈÊÕµ½GAPÒ²²»»á²â
|
| 893 | Á¿Ö±µ½ÓвâÁ¿ÁбíÅäÖÃÏÂÀ´
|
| 894 | ÏûÏ¢:LTE_P_FREQ_LIST_CONFIG_REQ_EV
|
| 895 | ½á¹¹:T_zLTE_P_FreqListConfigReq
|
| 896 | ******************************************************/
|
| 897 | typedef struct {
|
| 898 | WORD wStartPCI; /*ÆðʼµÄÎïÀíÐ¡ÇøID,0~503*/
|
| 899 | WORD wRange; /*°üÀ¨wStartPCIÖ¸¶¨Ð¡ÇøÔÚÄÚµÄÐ¡Çø¸öÊý.Ð¡ÇøÒÀ´ÎΪwStartPCI,wStartPCI+1,....,wStartPCI+wRange-1*/
|
| 900 | }T_zLTE_P_BlackCell;
|
| 901 |
|
| 902 | typedef struct
|
| 903 | {
|
| 904 | DWORD dwEarfcn;
|
| 905 | WORD wMeasBandWidth;
|
| 906 | WORD wBlackCellRangeNum;
|
| 907 | WORD wHighPrioInd;/*Èç¹û´ËLTEƵµãΪ¸ßÓÅÏȼ¶£¬ÔòÖÃ1£¬·ñÔòΪ0*/
|
| 908 | WORD wPadding;
|
| 909 | T_zLTE_P_BlackCell atBlackCells[16];
|
| 910 | }T_zLTE_P_FreqInfo;
|
| 911 |
|
| 912 |
|
| 913 | typedef struct
|
| 914 | {
|
| 915 | WORD wMsgId;
|
| 916 | /*
|
| 917 | bReportQuantity: ȡֵ·¶Î§£º0£¬1£¬2
|
| 918 | 0: Ö»²âRSRP
|
| 919 | 1: Ö»²âRSRQ,
|
| 920 | 2: RSRPºÍRSRQÁ½¸ö¶¼²â
|
| 921 | */
|
| 922 | WORD wReportQuantity;
|
| 923 | WORD wMaxCellRepPerFreq;
|
| 924 | /*
|
| 925 | ±»²âµÄƵµã¸öÊý¡£¸ù¾ÝĿǰLTEÎïÀí²ãµÄ²âÁ¿ÄÜÁ¦×î¶àÖ§³Ö4¸öƵµã¡£
|
| 926 | */
|
| 927 | WORD wFreqNum;
|
| 928 | /*
|
| 929 | ²âÁ¿¶ÔÏóµÄÐÅÏ¢ÁÐ±í£¨º¬Í¬ÆµºÍÒìÆµ£©, ÔªËØ0¹Ì¶¨ÎªintraƵµãµÄ²ÎÊý¡£1~3ΪinterƵµã²ÎÊý
|
| 930 | */
|
| 931 | T_zLTE_P_FreqInfo atFreqInfoList[8];
|
| 932 | }T_zLTE_P_FreqListConfig_Req;
|
| 933 |
|
| 934 |
|
| 935 | /******************************************************
|
| 936 | ·½Ïò:L1G,L1T->EPHY
|
| 937 | ¹¦ÄÜ:L1T,l1Gͨ¹ýMask֪ͨLTEÎïÀí²ãÆô¶¯ÏàӦƵµã²âÁ¿£¬²¢ÆôÓÃеIJâÁ¿ÖÜÆÚ
|
| 938 | ÏûÏ¢:LTE_P_IRAT_MEAS_CONFIG_REQ_Ev
|
| 939 | ½á¹¹:T_zLTE_P_IratMeasConfigReq
|
| 940 | ******************************************************/
|
| 941 | typedef struct
|
| 942 | {
|
| 943 | WORD wMsgId;
|
| 944 | WORD wConnectStateFlg;/*֪ͨÖ÷ģʽ״̬£¬0¿ÕÏÐ̬£¬1Á¬½Ó̬*/
|
| 945 | /*
|
| 946 | ÿ¸öbit¶ÔÓ¦meas_freq_infoÖеÄÒ»¸öƵµã£¬ÎïÀí²ãÖ»Æô¶¯¶ÔÓ¦µÄbitλΪ1µÄƵµãµÄ²âÁ¿¡£
|
| 947 | Bitn¶ÔÓ¦T_zLTE_P_IratMeasConfig_ReqÖеÄatMeasFreqInfoList[n]£¬n£º0~3
|
| 948 | */
|
| 949 | WORD wMeasBitMask;
|
| 950 | /*³õËѲâÁ¿ºóµÄºóÐø²âÁ¿²âÁ¿ÖÜÆÚ¾ùΪwTmeas,µ¥Î»ms*/
|
| 951 | WORD wTmeas;
|
| 952 | /*µÚÒ»´Î²âÁ¿µÄ±¨¸æÖÜÆÚ£¬µ¥Î»ms,Èç¹ûÖÜÆÚÄÚÌáǰÍê³É¿ÉÒÔÌáǰÉϱ¨£¬
|
| 953 | ×²»³¬¹ý±¨¸æÖÜÆÚ¡£Èç¹ûÒ»¸öƵµãÖØÅäǰÒѾ×ö¹ý²âÁ¿£¬ÔòÖ±½ÓÓÃÓÚwTmeas¶ø²»ÊÇdwTmeasInitial*/
|
| 954 | DWORD dwTmeasInitial;
|
| 955 | }T_zLTE_P_IratMeasConfig_Req;
|
| 956 | /******************************************************
|
| 957 | ·½Ïò:L1G,L1T->EPHY
|
| 958 | ¹¦ÄÜ:L1TÇëÇóÎïÀí²ãֹͣʹÓÃÒѾ·ÖÅäµÄGAP.LTEÎïÀí²ãÊÕµ½¸ÃÏûÏ¢Á¢¼´Í£Ö¹¶ÔÒѾ·ÖÅäµÄGAPµÄʹÓã¬
|
| 959 | È¡ÏûºóÐøµ÷¶È£¬ÔÚ×î¿ìµÄʱ¼äÄÚÈóöÉ䯵.Note:ºÍLTE_P_ABORT_GAP_CNF_EvÅäÖÃʹÓÃ
|
| 960 | ÏûÏ¢:LTE_P_ABORT_GAP_REQ_Ev
|
| 961 | ½á¹¹:T_zLTE_P_AbortGapReq
|
| 962 | ******************************************************/
|
| 963 | typedef struct
|
| 964 | {
|
| 965 | WORD wMsgId;
|
| 966 | WORD wPadding;
|
| 967 | } T_zLTE_P_AbortGap_Req;
|
| 968 |
|
| 969 |
|
| 970 | /* ¶àÄ£½Ó¿Ú*/
|
| 971 | /******************************************************
|
| 972 | ·½Ïò:L1E->L1T/L1G
|
| 973 | ¹¦ÄÜ:LTEÎïÀí²ãÉϱ¨²âÁ¿½á¹û,ÆäÖв»º¬ºÚÃûµ¥ÖеÄÐ¡Çø
|
| 974 | ÏûÏ¢:LTE_P_IRAT_MEAS_IND_EV
|
| 975 | ½á¹¹:T_zLTE_P_IratMeas_Ind
|
| 976 | ******************************************************/
|
| 977 | /*
|
| 978 | EPHYÒ»¸öÐ¡ÇøµÄ²âÁ¿½á¹ûÐÅÏ¢
|
| 979 | */
|
| 980 | typedef struct
|
| 981 | {
|
| 982 | WORD wPhyCellId; //ȡֵ·¶Î§£º 0~503
|
| 983 | WORD wRsrp; //ȡֵ·¶Î§£º 0~97
|
| 984 | WORD wRsrq; //ȡֵ·¶Î§£º 0~34
|
| 985 | WORD wPadding;
|
| 986 | } T_zLTE_P_MeasResult;
|
| 987 |
|
| 988 | /*
|
| 989 | Ò»¸öƵµãµÄ²âÁ¿½á¹û,ÓÃÓÚÒìÆµ²âÁ¿½á¹ûµÄÉϱ¨
|
| 990 | */
|
| 991 | typedef struct
|
| 992 | {
|
| 993 | DWORD dwReportEarfcn; //ȡֵ·¶Î§£º 0~262143
|
| 994 | WORD wCellNum; //ȡֵ·¶Î§£º 0~32
|
| 995 | WORD wPadding;
|
| 996 | T_zLTE_P_MeasResult atResultList[Z_LTE_P_MAX_IRAT_REPORT_CELL_PER_FREQ];
|
| 997 | } T_zLTE_P_FreqMeasResult;
|
| 998 |
|
| 999 | typedef struct
|
| 1000 | {
|
| 1001 | WORD wMsgId;
|
| 1002 | WORD wFreqNum;
|
| 1003 | T_zLTE_P_FreqMeasResult atFreqResultList[8];
|
| 1004 | WORD wRptFlg; /*0:ÖÜÆÚÉϱ¨ 1:ÌáǰÉϱ¨*/
|
| 1005 | WORD wPadding;
|
| 1006 | } T_zLTE_P_IratMeas_Ind;
|
| 1007 |
|
| 1008 | #ifdef Z_SINGLEANTENNA
|
| 1009 | /******************************************************
|
| 1010 | ·½Ïò:L1G,L1T->EPHY
|
| 1011 | ¹¦ÄÜ:LTEΪ¸¨µÄʱºò£¬L1G£¬L1T¸øEPHY·ÖÅäGAPʱ¼ä,Ö´ÐÐEPHYµÄɨƵ¡¢²âÁ¿¡¢ÏµÍ³ÏûÏ¢¶ÁÈ¡µÈ¡£
|
| 1012 | ÏûÏ¢:LTE_P_IRAT_GAP_CONFIG_REQ_EV
|
| 1013 | ½á¹¹:T_zLTE_P_IratGapConfigReq
|
| 1014 | ******************************************************/
|
| 1015 | typedef struct{
|
| 1016 | WORD wGapStartSubframe;/*GapÆðʼλÖÃ×ÓÖ¡ºÅ£¬ÕûMs²¿·Ö*/
|
| 1017 | WORD wGapStartSfn; /*GapÆðʼλÖÃSFNºÅ£¬Õû10Ms²¿·Ö*/
|
| 1018 | WORD wGapStartTs; /*GapÆðʼλÖÃ,Ts²¿·Ö*/
|
| 1019 | WORD wGapLengthMs; /* GAP³¤¶È,µ¥Î»ms.*/
|
| 1020 | WORD wGapLengthTs; /* GAP³¤¶È,TS²¿·Ö.Õû¸öGAP³¤¶Èʵ¼ÊÊÇbGapLengthMs+bGapLengthTs*/
|
| 1021 | }T_zLTE_P_IratGapInfo;
|
| 1022 |
|
| 1023 | typedef struct{
|
| 1024 | WORD wMsgId;
|
| 1025 | WORD wGapNum;
|
| 1026 | WORD wGapGsmConnectFlg;/*GSMΪÖ÷ģʱʹÓã¬LTEÎïÀí²ãÐèÒª¶ÔGSM Á¬½Ó̬GAPβ¶ÔÆë±êʶ*/
|
| 1027 | WORD wPadding;
|
| 1028 | T_zLTE_P_IratGapInfo atIratGapInfo[Z_LTE_P_IRAT_MAX_GAP_NUM];
|
| 1029 | }T_zLTE_P_IratGapConfig_Req;
|
| 1030 |
|
| 1031 | /******************************************************
|
| 1032 | ·½Ïò:L1E->EPHY
|
| 1033 | ¹¦ÄÜ:LTEΪÖ÷ÖÆÊ½µ±L1E·¢ÏÖÐèÒª¸øÆäËûÖÆÊ½·ÖÅäGAPʱ¼äµÄʱºò£¬L1EÏòEPHYÇëÇóGAPÉϱ¨
|
| 1034 | ÏûÏ¢:LTE_P_IDLE_PERIOD_REP_REQ_EV.
|
| 1035 | ½á¹¹:T_zLTE_P_Idle_PeriodRep_Req
|
| 1036 | ******************************************************/
|
| 1037 | typedef struct
|
| 1038 | {
|
| 1039 | WORD wMsgId;
|
| 1040 | WORD wReportingMode; /*1:¿ªÆôGAPÉϱ¨, 0:Í£Ö¹GAPÉϱ¨*/
|
| 1041 | WORD wAnrMode; /*0:·ÇANR GAPÉϱ¨, 1: ANR GAPÉϱ¨*/
|
| 1042 | WORD wPadding;
|
| 1043 | } T_zLTE_P_GapReportCtrl_Req;
|
| 1044 | #else
|
| 1045 | /******************************************************
|
| 1046 | ·½Ïò:L1G,L1T->EPHY
|
| 1047 | ¹¦ÄÜ:LTEΪ¸¨µÄʱºò£¬L1G£¬L1T¸øEPHY·ÖÅäGAPʱ¼ä,Ö´ÐÐEPHYµÄɨƵ¡¢²âÁ¿¡¢ÏµÍ³ÏûÏ¢¶ÁÈ¡µÈ¡£
|
| 1048 | ÏûÏ¢:LTE_P_IRAT_GAP_CONFIG_REQ_EV
|
| 1049 | ½á¹¹:T_zLTE_P_IratGapConfigReq
|
| 1050 | ******************************************************/
|
| 1051 | typedef struct{
|
| 1052 | WORD wMsgId;
|
| 1053 | WORD wGapStartSubframe;/*GapÆðʼλÖÃ×ÓÖ¡ºÅ£¬ÕûMs²¿·Ö*/
|
| 1054 | WORD wGapStartSfn; /*GapÆðʼλÖÃSFNºÅ£¬Õû10Ms²¿·Ö*/
|
| 1055 | WORD wGapStartTs; /*GapÆðʼλÖÃ,Ts²¿·Ö*/
|
| 1056 | WORD wGapLengthMs; /* GAP³¤¶È,µ¥Î»ms.*/
|
| 1057 | WORD wGapLengthTs; /* GAP³¤¶È,TS²¿·Ö.Õû¸öGAP³¤¶Èʵ¼ÊÊÇbGapLengthMs+bGapLengthTs*/
|
| 1058 | WORD wGapGsmConnectFlg;/*GSMΪÖ÷ģʱʹÓã¬LTEÎïÀí²ãÐèÒª¶ÔGSM Á¬½Ó̬GAPβ¶ÔÆë±êʶ*/
|
| 1059 | WORD wPadding;
|
| 1060 | }T_zLTE_P_IratGapConfig_Req;
|
| 1061 |
|
| 1062 | /******************************************************
|
| 1063 | ·½Ïò:L1E->EPHY
|
| 1064 | ¹¦ÄÜ:LTEΪÖ÷ÖÆÊ½µ±L1E·¢ÏÖÐèÒª¸øÆäËûÖÆÊ½·ÖÅäGAPʱ¼äµÄʱºò£¬L1EÏòEPHYÇëÇóGAPÉϱ¨
|
| 1065 | ÏûÏ¢:LTE_P_IDLE_PERIOD_REP_REQ_EV.
|
| 1066 | ½á¹¹:T_zLTE_P_Idle_PeriodRep_Req
|
| 1067 | ******************************************************/
|
| 1068 | typedef struct
|
| 1069 | {
|
| 1070 | WORD wMsgId;
|
| 1071 | WORD wReportingMode; /*1:¿ªÆôGAPÉϱ¨, 0:Í£Ö¹GAPÉϱ¨*/
|
| 1072 | } T_zLTE_P_Idle_PeriodRep_Req;
|
| 1073 | #endif
|
| 1074 | /*EPHY·¢Ë͸øL1G,L1TµÄ½Ó¿Ú¶¨Òå*/
|
| 1075 | /******************************************************
|
| 1076 | ·½Ïò:EPHY->L1T,L1G
|
| 1077 | ¹¦ÄÜ:LTEÎïÀí²ãÊÕµ½LTE_P_ABORT_GAP_REQ_EvÈóöÉ䯵ºó¡£¸øL1T,L1GµÄÈ·ÈÏ
|
| 1078 | ×¢Ò⣺¶ÔÓÚGAPµÄÈ¡Ïû¹¦ÄÜÓë²âÁ¿ÁбíûÓбØÈ»¹ØÁª¹ØÏµ£¬LTEÎïÀí²ãÓÐGAP¾Í²âÁ¿£¬Ã»GAP¾Í²»²âÁ¿£¬ÀýÈ磬GAPÈ¡Ïû
|
| 1079 | Ò»¶Îʱ¼äºóL1TÔÙ´ÎÅäÖÃGAP£¬ÄÇôLTEÎïÀí²ãÈÔÈ»¿ÉÒÔ¼ÌÐø²âÁ¿¡£
|
| 1080 | ÏûÏ¢:LTE_P_ABORT_GAP_CNF_Ev
|
| 1081 | ½á¹¹:NULL
|
| 1082 | ******************************************************/
|
| 1083 | typedef T_zPS_IR_CLUSTER_INFO T_L1MD_IRAT_CLUSTER_INFO;
|
| 1084 |
|
| 1085 | typedef struct
|
| 1086 | {
|
| 1087 | BYTE bTargetMode;
|
| 1088 | BYTE bMasterFlg;
|
| 1089 | BYTE bCurrMode;
|
| 1090 | }T_zFunc_SetMode_Req;
|
| 1091 |
|
| 1092 | /*GSMÐ¡ÇøÐÅÏ¢*/
|
| 1093 | typedef struct{
|
| 1094 | BYTE bCellId; /*Ð¡ÇøÄÚ²¿Ë÷Òý*/
|
| 1095 | BYTE bPadding;
|
| 1096 | WORD wArfcn; /*Ƶµã£¬µÚ16±ÈÌØ£½1±íʾΪ1900²¨¶Î*/
|
| 1097 | }T_zL1a_GsmCellInfo;
|
| 1098 |
|
| 1099 | /*GSMÐ¡Çø²âÁ¿½á¹û*/
|
| 1100 | typedef struct {
|
| 1101 | BYTE bCellId;
|
| 1102 | BYTE bBsic;
|
| 1103 | WORD wArfcn; /*Ƶµã£¬µÚ16±ÈÌØ£½1±íʾΪ1900²¨¶Î*/
|
| 1104 | BYTE bRssi;
|
| 1105 | BYTE abPadding[3];
|
| 1106 | }T_zL1a_GsmCellMeasRlt;
|
| 1107 |
|
| 1108 | /*==============================================================================
|
| 1109 | PS->L1G
|
| 1110 | ʼþ£ºL1G_RPI_CFG_REQ_EV
|
| 1111 | ¹¦ÄÜ:
|
| 1112 | ÅäÖÃGSMÏÂ8¸öBAND£¬Ã¿¸öBANDÏÂRPIºÍPUMAXµÄÓ³Éä¹ØÏµ£¬ÆäÖÐRPI·¶Î§0~2
|
| 1113 | ==============================================================================*/
|
| 1114 | typedef struct
|
| 1115 | {
|
| 1116 | T_zBandRpiCfg tGsmBandRpiCfg[Z_GSM_RPI_SUPPORT_MAX_BAND];
|
| 1117 | }T_zPS_GSM_P_RpiCfgReq;
|
| 1118 |
|
| 1119 | extern DWORD zW_SendMsgTophy(DWORD dwMsgId, PBYTE pbMsgData, WORD wMsgLen);
|
| 1120 | extern DWORD zLte_SendMsgToEphy(DWORD dwMsgId, PBYTE pbMsgData, WORD wMsgLen);
|
| 1121 | extern VOID zGsm_SendRpiCfgMsgToL1g (T_zPS_GSM_P_RpiCfgReq* ptGsmRpiCfgReq, BYTE bCurInsIdx);
|
| 1122 | /**************************************************************************
|
| 1123 | * È«¾Öº¯ÊýÔÐÍ *
|
| 1124 | **************************************************************************/
|
| 1125 | /*Ö÷ģʽÉèÖú¯Êý
|
| 1126 | bTargetRat£ºÐèÒª´¦ÀíµÄÄ¿±êÖÆÊ½£º1GSM£¬2TD£¬3LTE£¬4W
|
| 1127 | bMasterFlg£ºÊÇ·ñ½«Ä¿±êÖÆÊ½ÉèÖÃΪÖ÷ģʽ£¬Z_VALIDÊÇ£¬Z_INVALID·ñ*/
|
| 1128 | extern VOID zSetMasterMode(BYTE bTargetRat, BYTE bMasterFlg);
|
| 1129 |
|
| 1130 | /*Ö÷ģʽ²éѯº¯Êý
|
| 1131 | bRat£º±¾Ä£¿éµÄÖÆÊ½(Ö§³ÖASµ¥ÊµÀýË«´ý)
|
| 1132 | ·µ»ØÖµ£º0ûÓÐÖ÷ģʽ£¬1GSMΪÖ÷£¬2TDΪÖ÷£¬3LTEΪÖ÷£¬4WΪÖ÷*/
|
| 1133 | extern BYTE zGetMasterMode(BYTE bRat);
|
| 1134 | /*Ö÷ģʽÉèÖú¯Êý,½ö¹©µ¥°åIC L1Gµ÷ÓÃ*/
|
| 1135 | extern VOID zSetIratMasterMode(BYTE bTargetAct, BYTE bIsSetTargetActMaster);
|
| 1136 | /*bTargetAct£ºÐèÒª´¦ÀíµÄÄ¿±êÖÆÊ½£º1±íʾZ_IRAT_GSM_MODE¡¢2±íʾZ_IRAT_TD_MODE¡¢3±íʾZPS_IRAT_LTE_MODE
|
| 1137 | bIsSetTargetActMaster£ºÊÇ·ñ½«Ä¿±êÖÆÊ½ÉèÖÃΪÖ÷ÖÆÊ½£¬Z_VALID(TRUE)£ºÊÇ£¬Z_INVALID(FALSE)£º·ñ
|
| 1138 | */
|
| 1139 | /*»ñÈ¡µ±Ç°Ö÷ÖÆÊ½º¯Êý£¬½ö¹©µ¥°åIC L1Gµ÷ÓÃ*/
|
| 1140 | extern BYTE zGetIratMasterMode(VOID);/*·µ»ØÖµ0 :³õʼ»¯Öµ»òÈý¸öÖÆÊ½¾ù²»ÎªÖ÷,1 :GSMΪÖ÷,)2 :TDΪÖ÷,3 :LTEΪÖ÷*/
|
| 1141 |
|
| 1142 | /*GSM²âÁ¿µ÷¶È½Ó¿Ú*/
|
| 1143 | extern VOID zL1a_meas_GsmInit(VOID);
|
| 1144 | extern VOID zL1a_meas_GsmReset(VOID);
|
| 1145 | extern VOID zL1a_meas_GsmConfig(BYTE bCellNum, T_zL1a_GsmCellInfo *pCellList, BYTE bRrcState);
|
| 1146 | extern VOID zL1a_meas_GsmStart(BYTE bFully);
|
| 1147 | extern VOID zL1a_meas_GsmSuspend(VOID);
|
| 1148 | extern VOID zL1a_meas_GsmResume(VOID);
|
| 1149 | extern VOID zL1a_meas_GsmStop(BYTE bFully);
|
| 1150 | extern BOOL zL1a_meas_GsmIsStopped(VOID);
|
| 1151 | extern BYTE zL1a_meas_GsmGetResult(T_zL1a_GsmCellMeasRlt *pMeasRlt);
|
| 1152 | extern VOID zL1a_meas_GsmSchedule(BYTE bPurpose, T_zIR_TDMA_TIME_INFO *pStart,
|
| 1153 | T_zIR_TDMA_TIME_INFO *pLen);
|
| 1154 | extern VOID zL1a_meas_GsmSetBsicRequired(BYTE bNotNeedFcb);
|
| 1155 |
|
| 1156 | #ifdef Z_SINGLEANTENNA
|
| 1157 | extern VOID zL1a_SetCard1RfOccupStat(VOID);
|
| 1158 | extern VOID zL1a_SetCard2RfOccupStat(VOID);
|
| 1159 | extern BYTE zL1a_GetCard1RfOccupStat(VOID);
|
| 1160 | extern BYTE zL1a_GetCard2RfOccupStat(VOID);
|
| 1161 | extern VOID zL1a_ClearCard1RfOccupStat(VOID);
|
| 1162 | extern VOID zL1a_ClearCard2RfOccupStat(VOID);
|
| 1163 | extern BYTE zL1a_ChkIsEventExist(BYTE bCardindex, BYTE bEvent);
|
| 1164 | extern BYTE zL1a_IsCard1CsEventExist(VOID);
|
| 1165 | extern VOID zL1a_SetEventPriority(BYTE bCardindex, BYTE bEvent);
|
| 1166 | extern VOID zL1a_CleanEventPriority(BYTE bCardindex, BYTE bEvent);
|
| 1167 | extern BYTE zL1a_GetDualCardEventPriority(VOID);
|
| 1168 | extern VOID zL1a_Init(VOID);
|
| 1169 | #endif
|
| 1170 |
|
| 1171 | /******************* L1GËùÌṩµÄº¯ÊýÉùÃ÷ *********************/
|
| 1172 | extern VOID l1md_set_umts_params(T_zIR_BCCH_LIST * p_ba_list );
|
| 1173 | extern BOOL l1co_umts_is_activated(VOID);
|
| 1174 | extern VOID l1co_umts_initialise_req(VOID);
|
| 1175 | extern VOID l1md_umts_initialize(VOID);
|
| 1176 | extern VOID l1md_umts_set_reconf_state(const T_zIR_IR_GSM_BAND_MASK dwCellBitmap);
|
| 1177 | extern VOID l1md_umts_get_updated_sync_status(T_zIR_CELL_SYNC_QUERY_DATA *p_sync_query_data /* IO: sync data */);
|
| 1178 | extern VOID l1md_exchange_ncell_rxlev_buffers(BYTE bMutiModeInd);/*Ë«¿¨Ë«´ýL1GÐèÇóÐ޸ġ£¶àÄ£ µ¥Ä£Èë²Î¡£0±íʾ˫´ýÖеĶàÄ£Ò»´ýµ÷Óã¬1±íʾ˫´ýÖ®Öе¥´ýµ÷ÓÃ*/
|
| 1179 | extern BOOL l1md_umts_rssi_meas_complete(VOID);
|
| 1180 | extern VOID l1md_db_shift_ncell_runav(BYTE bMutiModeInd);
|
| 1181 | extern BOOL l1md_umts_query_sync_status(T_zIR_CELL_SYNC_QUERY_DATA * p_sync_query_data, \
|
| 1182 | DWORD cell_mask, \
|
| 1183 | BYTE max_cells);
|
| 1184 | extern VOID l1co_umts_deactivate_req(VOID);
|
| 1185 | extern DWORD l1md_umts_determine_backup_size(VOID);
|
| 1186 | extern VOID l1md_umts_backup_db(PVOID P);
|
| 1187 | extern VOID l1md_umts_restore_db(PVOID P);
|
| 1188 | extern BOOL l1co_umts_sb_read(T_zIR_TIMING_CTRL timing_ctrl_flag, \
|
| 1189 | T_zIR_SB_READ_TYPE sb_read_type, \
|
| 1190 | T_zIR_SB_INFO_TABLE *sb_info, \
|
| 1191 | T_zIR_TDMA_TIME_INFO *start, \
|
| 1192 | T_zIR_TDMA_TIME_INFO *length, \
|
| 1193 | T_zIR_RESULT_FUNCTION *result_reconf_sb_read_fct);
|
| 1194 | extern VOID l1co_umts_rssi_meas(DWORD band, \
|
| 1195 | BOOL wrap_around_flag, \
|
| 1196 | T_zIR_TDMA_TIME_INFO *start, \
|
| 1197 | T_zIR_TDMA_TIME_INFO *length, \
|
| 1198 | T_zIR_RESULT_FUNCTION *result_rssi_meas_fct );
|
| 1199 | extern VOID l1md_umts_set_active_cells(DWORD active_cells /* I: active cells(bitmap) */);
|
| 1200 | extern VOID l1co_umts_activate_req(VOID);
|
| 1201 | extern VOID l1co_umts_fcb_sb_read(T_zIR_REP_CELL_TABLE * cell_info, \
|
| 1202 | T_zIR_TDMA_TIME_INFO * start, \
|
| 1203 | T_zIR_TDMA_TIME_INFO * length, \
|
| 1204 | T_zIR_RESULT_FUNCTION * result_fcb_sb_read_fct);
|
| 1205 |
|
| 1206 | extern BOOL l1co_umts_is_deactivated(VOID);
|
| 1207 | extern VOID l1g_irat_set_gsm_master(VOID);
|
| 1208 | extern BOOL l1d_tch_stm_dtx_active(BYTE bMutiModeInd);
|
| 1209 |
|
| 1210 | extern VOID l1md_umts_clear_all_sync_info(VOID);
|
| 1211 |
|
| 1212 | #ifdef MULTI_IRAT_2963
|
| 1213 | extern VOID l1g_irat_stop_gap_rep_req(VOID);
|
| 1214 | extern VOID l1g_irat_start_gap_rep_req(VOID);
|
| 1215 | /*******************l1ud_meas.h*********************/
|
| 1216 | extern VOID ZPS_IR_l1ud_meas_stm_init( VOID );
|
| 1217 | extern VOID ZPS_IR_l1ud_meas_stm_reset(VOID);
|
| 1218 | extern VOID ZPS_IR_l1ud_meas_stm_prepare( BYTE bGsmBand, BYTE bWindowLen);
|
| 1219 | extern VOID ZPS_IR_l1ud_meas_stm_frame_tick(VOID);
|
| 1220 |
|
| 1221 | #if defined (SINGLE_ANTENNA_SUPPORT)
|
| 1222 | extern VOID ZPS_IR_l1ud_meas_irat_prepare( BYTE bPid, BYTE bIratUseTxForTout, BYTE bLastUsedTs);
|
| 1223 | #else
|
| 1224 | extern VOID ZPS_IR_l1ud_meas_irat_prepare ( BYTE bPid , BYTE bIratUseTxForTout );
|
| 1225 | #endif
|
| 1226 |
|
| 1227 | extern VOID ZPS_IR_l1ud_meas_irat_ifrm_shortened( CHAR delta_offset );
|
| 1228 | extern VOID ZPS_IR_l1ud_meas_irat_tx_enabled( BYTE bTxEnabled );
|
| 1229 | extern VOID ZPS_IR_l1ud_irat_measurements_abort( VOID );
|
| 1230 | extern BYTE ZPS_IR_l1ud_irat_meas_active ( VOID );
|
| 1231 | extern VOID ZPS_IR_l1ud_irat_gsm_gap_start(WORD wWindowTime);
|
| 1232 | extern VOID ZPS_IR_l1ud_irat_gsm_gap_stop( VOID );
|
| 1233 | extern BYTE ZPS_IR_l1ud_irat_plmn_search_gap_start( WORD wWindowTime );
|
| 1234 |
|
| 1235 | /*--------------------------stub them-----------------------------*/
|
| 1236 | extern VOID ZPS_IR_l1ud_irat_measurements_release(VOID);
|
| 1237 | extern BYTE ZPS_IR_l1ud_meas_irat_release_cnf(VOID);
|
| 1238 |
|
| 1239 | /*******************l1u_irat_misc.h, begin*********************/
|
| 1240 | extern VOID ZPS_IR_l1u_irat_init ( VOID );
|
| 1241 | extern BYTE ZPS_IR_l1u_irat_trust_bsic_reconf_timing ( VOID );
|
| 1242 | extern VOID ZPS_IR_l1u_irat_set_umts_master ( VOID );
|
| 1243 | extern BYTE ZPS_IR_l1u_irat_is_umts_master ( VOID );
|
| 1244 | extern VOID ZPS_IR_l1u_irat_set_umts_mode ( VOID );
|
| 1245 | extern BYTE ZPS_IR_l1u_irat_check_on_rf_conflict_with_umts ( VOID *pParam );
|
| 1246 | extern VOID ZPS_IR_l1u_irat_handler_req ( BYTE bRequestType );
|
| 1247 | extern BYTE ZPS_IR_l1u_irat_handler_cnf ( VOID );
|
| 1248 |
|
| 1249 | #if defined(SINGLE_ANTENNA_SUPPORT)
|
| 1250 | extern VOID ZPS_IR_l1u_irat_start_gap_rep_req ( VOID );
|
| 1251 | extern VOID ZPS_IR_l1u_irat_stop_gap_rep_req ( VOID );
|
| 1252 | #endif
|
| 1253 | extern VOID ZPS_IR_l1ud_tstamp_activate(BYTE bTsMode, BYTE bGapIgnoreMode);
|
| 1254 | extern BYTE ZPS_IR_l1ud_tstamp_is_antenna_ready_for_gsm(T_zPS_IR_TDMA_TIME_INFO *p_gfn_free_until);
|
| 1255 | extern VOID ZPS_IR_l1ud_tstamp_reset_gprs_offset( VOID );
|
| 1256 | extern VOID ZPS_IR_l1ud_tstamp_set_gprs_fn(DWORD dwFn);
|
| 1257 | extern VOID ZPS_IR_l1ud_tstamp_get_time_gsm_antenna_free(T_zPS_IR_TDMA_TIME_INFO *p_gsm_starttime,
|
| 1258 | T_zPS_IR_TDMA_TIME_INFO *p_tdma_time_result);
|
| 1259 | extern VOID ZPS_IR_l1ud_tstamp_gprs_frame_tick( WORD wPrevLen );
|
| 1260 | extern VOID ZPS_IR_l1ud_tstamp_gprs_early_prep_tick( VOID );
|
| 1261 | extern SHORT ZPS_IR_l1ud_talg_get_and_reset_time_drift_offset(VOID);
|
| 1262 | /*******************l1u_atc_if.h*********************/
|
| 1263 | extern PBYTE ZPS_IR_l1u_atc_set(PBYTE pString);
|
| 1264 |
|
| 1265 | /*******************l1u_fs.h*********************/
|
| 1266 | extern BYTE ZPS_IR_l1u_fs_get_nof_active_fr_tick_func(VOID);
|
| 1267 |
|
| 1268 | /*******************l1u_dch.h*********************/
|
| 1269 | extern BYTE ZPS_IR_l1u_dch_check_idle(VOID);
|
| 1270 | /*******************l1u_fch.h*********************/
|
| 1271 | extern BYTE ZPS_IR_l1u_fach_check_idle(VOID);
|
| 1272 | /*******************l1u_bch.h*********************/
|
| 1273 | extern BYTE ZPS_IR_l1u_bch_check_idle(VOID);
|
| 1274 | /*******************l1u_csrch.h*********************/
|
| 1275 | extern BYTE ZPS_IR_l1u_csrch_check_idle(VOID);
|
| 1276 |
|
| 1277 | /*******************l1u_mon_irat1.h*********************/
|
| 1278 | extern VOID ZPS_IR_l1u_mon_irat_change_timestamping_to_idle(VOID);
|
| 1279 |
|
| 1280 | /*******************l1u_mdb.h*********************/
|
| 1281 | extern VOID ZPS_IR_l1u_mdb_reset_cell_database(VOID);
|
| 1282 | extern VOID ZPS_IR_l1u_mdb_set_cell_list_uarfcn(T_zPS_IR_CELL_LIST_ID list_id, \
|
| 1283 | WORD uarfcn, \
|
| 1284 | BYTE id, \
|
| 1285 | BYTE nof_cells);
|
| 1286 | extern VOID ZPS_IR_l1u_mdb_add_assigned_cell(T_zPS_IR_UTRAN_CELL_ON_FREQ *p_cell_info, \
|
| 1287 | T_zPS_IR_CELL_LIST_ID list_id, \
|
| 1288 | BYTE src_idx);
|
| 1289 | extern VOID ZPS_IR_Create_ZPS_L1G_TDD_CELL_MEAS_REQ( T_zPS_IR_UTRAN_CTRL_DATA *p_utran_ctrl );
|
| 1290 | extern VOID ZPS_IR_send_ZPS_L1G_TDD_CELL_MEAS_REQ(T_zPS_IR_L1G_TddCellMeasReq *p_msg_param);
|
| 1291 | extern VOID ZPS_IR_l1u_mdb_add_ncell_result(T_zPS_IR_IratUmcrMeasResult *p_umcr_meas_result, \
|
| 1292 | T_zPS_IR_CELL_LIST_ID *p_list_id);
|
| 1293 | extern VOID ZPS_IR_l1u_mdb_updata_ncell_running_average_buffers(T_zPS_IR_CELL_LIST_ID list_id, \
|
| 1294 | T_zPS_IR_UTRAN_CTRL_DATA *p_utran_ctrl);
|
| 1295 | extern T_zPS_IR_UTRAN_CELL_ON_FREQ *ZPS_IR_l1u_mdb_get_ncell_data(T_zPS_IR_CELL_LIST_ID list_id, \
|
| 1296 | BYTE cell_idx);
|
| 1297 | extern VOID ZPS_IR_l1u_mdb_calc_ncell_ravg(T_zPS_IR_CELL_LIST_ID list_id, \
|
| 1298 | BYTE cell_idx, \
|
| 1299 | T_zPS_IR_MDB_MEAS_ELEMENT *meas_result);
|
| 1300 | extern BYTE ZPS_IR_comp_utran_list(T_zPS_IR_UTRAN_CELLS_PER_FREQ *p_new_utran_ncells, \
|
| 1301 | T_zPS_IR_CELL_LIST_ID list_idx);
|
| 1302 | extern BYTE ZPS_IR_l1u_mdb_get_cell_num( T_zPS_IR_CELL_LIST_ID list_id );
|
| 1303 | extern WORD ZPS_IR_l1u_mdb_get_uarfcn(T_zPS_IR_CELL_LIST_ID list_id);
|
| 1304 | extern BYTE ZPS_IR_l1u_mdb_get_uarfcn_index(T_zPS_IR_CELL_LIST_ID list_id);
|
| 1305 | /******************* L1GËùÌṩµÄº¯ÊýÉùÃ÷ *********************/
|
| 1306 | extern VOID l1md_fill_umts_resel_db(T_zPS_IR_MON_MEAS_RESULT_GSM_ELEMENT * p_result, \
|
| 1307 | BYTE max_cells_to_report, \
|
| 1308 | DWORD active_cell_bitmask, \
|
| 1309 | BYTE ravg_size);
|
| 1310 |
|
| 1311 | extern BOOL l1d_tu_umts_latch_disable(VOID);
|
| 1312 | extern BOOL l1d_tu_umts_latch_enable(VOID);
|
| 1313 | extern int l1d_tu_umts_latch_offset(VOID);
|
| 1314 | extern void l1g_irat_handler_req_ex ( T_L1G_IRAT_SCENE_TYPE scene_type, T_zPS_IR_HANDLER_REQ_TYPE request_type);
|
| 1315 | extern BOOL l1g_irat_handler_cnf(VOID);
|
| 1316 | extern VOID l1md_umts_set_invalid_state (const T_zPS_IR_IR_GSM_BAND_MASK band_mask);
|
| 1317 | #else
|
| 1318 | extern VOID l1g_irat_start_gap_rep_req ( BYTE bRat );
|
| 1319 | extern VOID l1g_irat_stop_gap_rep_req ( BYTE bRat );
|
| 1320 | /*******************l1ud_meas.h*********************/
|
| 1321 | extern VOID zIR_l1ud_meas_stm_init( VOID );
|
| 1322 | extern VOID zIR_l1ud_meas_stm_reset(VOID);
|
| 1323 | extern VOID zIR_l1ud_meas_stm_prepare( BYTE bGsmBand, BYTE bWindowLen);
|
| 1324 | extern VOID zIR_l1ud_meas_stm_frame_tick(VOID);
|
| 1325 |
|
| 1326 | #if defined (SINGLE_ANTENNA_SUPPORT)
|
| 1327 | extern VOID zIR_l1ud_meas_irat_prepare( BYTE bPid, BYTE bIratUseTxForTout, BYTE bLastUsedTs);
|
| 1328 | #else
|
| 1329 | extern VOID zIR_l1ud_meas_irat_prepare ( BYTE bPid , BYTE bIratUseTxForTout );
|
| 1330 | #endif
|
| 1331 |
|
| 1332 | extern VOID zIR_l1ud_meas_irat_ifrm_shortened( CHAR delta_offset );
|
| 1333 | extern VOID zIR_l1ud_meas_irat_tx_enabled( BYTE bTxEnabled );
|
| 1334 | extern VOID zIR_l1ud_irat_measurements_abort( VOID );
|
| 1335 | extern BYTE zIR_l1ud_irat_meas_active ( VOID );
|
| 1336 | extern VOID zIR_l1ud_irat_gap_start(T_zTD_P_IratGapConfig_Req *pGapConfigReq);
|
| 1337 | extern VOID zIR_l1ud_irat_gsm_gap_stop( VOID );
|
| 1338 | extern BYTE zIR_l1ud_irat_plmn_search_gap_start( WORD wWindowTime );
|
| 1339 |
|
| 1340 | /*--------------------------stub them-----------------------------*/
|
| 1341 | extern VOID zIR_l1ud_irat_measurements_release(VOID);
|
| 1342 | extern BYTE zIR_l1ud_meas_irat_release_cnf(VOID);
|
| 1343 |
|
| 1344 | /*******************l1u_irat_misc.h, begin*********************/
|
| 1345 | extern VOID zIR_l1u_irat_init ( VOID );
|
| 1346 | extern BYTE zIR_l1u_irat_trust_bsic_reconf_timing ( VOID );
|
| 1347 | extern BYTE zIR_l1u_irat_check_on_rf_conflict_with_umts ( VOID *pParam );
|
| 1348 | extern VOID zIR_l1u_irat_handler_req ( BYTE bRequestType );
|
| 1349 | extern BYTE zIR_l1u_irat_handler_cnf ( VOID );
|
| 1350 |
|
| 1351 | /*#if defined(SINGLE_ANTENNA_SUPPORT)*/
|
| 1352 | extern BOOL zL1t_meas_IratStopGapCnf(BYTE bRat);
|
| 1353 | extern VOID zL1t_meas_IratStartGapReq(BYTE bRat);
|
| 1354 | extern VOID zL1t_meas_IratStopGapReq(BYTE bRat);
|
| 1355 | /*#endif*/
|
| 1356 | extern VOID zIR_l1ud_tstamp_get_time_gsm_antenna_free(T_zIR_TDMA_TIME_INFO *p_gsm_starttime,
|
| 1357 | T_zIR_TDMA_TIME_INFO *p_tdma_time_result);
|
| 1358 | /*******************l1u_atc_if.h*********************/
|
| 1359 | extern PBYTE zIR_l1u_atc_set(PBYTE pString);
|
| 1360 |
|
| 1361 | /*******************l1u_fs.h*********************/
|
| 1362 | extern BYTE zIR_l1u_fs_get_nof_active_fr_tick_func(VOID);
|
| 1363 |
|
| 1364 | /*******************l1u_dch.h*********************/
|
| 1365 | extern BYTE zIR_l1u_dch_check_idle(VOID);
|
| 1366 | /*******************l1u_fch.h*********************/
|
| 1367 | extern BYTE zIR_l1u_fach_check_idle(VOID);
|
| 1368 | /*******************l1u_bch.h*********************/
|
| 1369 | extern BYTE zIR_l1u_bch_check_idle(VOID);
|
| 1370 | /*******************l1u_csrch.h*********************/
|
| 1371 | extern BYTE zIR_l1u_csrch_check_idle(VOID);
|
| 1372 |
|
| 1373 | /*******************l1u_mon_irat1.h*********************/
|
| 1374 | extern VOID zIR_l1u_mon_irat_change_timestamping_to_idle(VOID);
|
| 1375 |
|
| 1376 | /*******************l1u_mdb.h*********************/
|
| 1377 | extern VOID zIR_l1u_mdb_reset_cell_database(VOID);
|
| 1378 | extern VOID zIR_l1u_mdb_set_cell_list_uarfcn(T_zIR_CELL_LIST_ID list_id, \
|
| 1379 | WORD uarfcn, \
|
| 1380 | BYTE id, \
|
| 1381 | BYTE nof_cells);
|
| 1382 | extern VOID zIR_l1u_mdb_add_assigned_cell(T_zIR_UTRAN_CELL_ON_FREQ *p_cell_info, \
|
| 1383 | T_zIR_CELL_LIST_ID list_id, \
|
| 1384 | BYTE src_idx);
|
| 1385 | extern VOID zIR_Create_L1G_TDD_CELL_MEAS_REQ_EV( T_zIR_UTRAN_CTRL_DATA *p_utran_ctrl );
|
| 1386 | extern VOID zIR_send_L1G_TDD_CELL_MEAS_REQ_EV(T_zIR_L1G_TddCellMeasReq *p_msg_param);
|
| 1387 | extern VOID zIR_l1u_mdb_add_ncell_result(T_zIR_IratUmcrMeasResult *p_umcr_meas_result, \
|
| 1388 | T_zIR_CELL_LIST_ID *p_list_id);
|
| 1389 | extern VOID zIR_l1u_mdb_updata_ncell_running_average_buffers(T_zIR_CELL_LIST_ID list_id, \
|
| 1390 | T_zIR_UTRAN_CTRL_DATA *p_utran_ctrl);
|
| 1391 | extern T_zIR_UTRAN_CELL_ON_FREQ *zIR_l1u_mdb_get_ncell_data(T_zIR_CELL_LIST_ID list_id, \
|
| 1392 | BYTE cell_idx);
|
| 1393 | extern VOID zIR_l1u_mdb_calc_ncell_ravg(T_zIR_CELL_LIST_ID list_id, \
|
| 1394 | BYTE cell_idx, \
|
| 1395 | T_zIR_MDB_MEAS_ELEMENT *meas_result);
|
| 1396 | extern BYTE zIR_comp_utran_list(T_zIR_UTRAN_CELLS_PER_FREQ *p_new_utran_ncells, \
|
| 1397 | T_zIR_CELL_LIST_ID list_idx);
|
| 1398 | extern BYTE zIR_l1u_mdb_get_cell_num( T_zIR_CELL_LIST_ID list_id );
|
| 1399 | extern WORD zIR_l1u_mdb_get_uarfcn(T_zIR_CELL_LIST_ID list_id);
|
| 1400 | extern BYTE zIR_l1u_mdb_get_uarfcn_index(T_zIR_CELL_LIST_ID list_id);
|
| 1401 | extern VOID l1md_fill_umts_resel_db(T_zIR_MON_MEAS_RESULT_GSM_ELEMENT * p_result, \
|
| 1402 | BYTE max_cells_to_report, \
|
| 1403 | DWORD active_cell_bitmask, \
|
| 1404 | BYTE ravg_size);
|
| 1405 | extern void l1g_irat_handler_req_ex ( T_L1G_IRAT_SCENE_TYPE scene_type, T_zIR_HANDLER_REQ_TYPE request_type);
|
| 1406 | extern BOOL l1g_irat_handler_cnf(VOID);
|
| 1407 | extern VOID l1md_umts_set_invalid_state (const T_zIR_IR_GSM_BAND_MASK band_mask);
|
| 1408 | extern DWORD zTd_SendMsgTophy(DWORD dwMsgId, PBYTE pbMsgData, WORD wMsgLen);
|
| 1409 |
|
| 1410 | #ifdef _USE_PSM
|
| 1411 | extern DWORD zLte_SendMsgToSimEphy(DWORD dwMsgId, PBYTE pbMsgData, WORD wMsgLen);
|
| 1412 | extern VOID zL1e_IratWakeUpEphy(VOID);
|
| 1413 | extern BOOL POW_get_timestamp_status(VOID);
|
| 1414 |
|
| 1415 | #if defined (PS_RAT_TDD)
|
| 1416 | extern BOOL zL1t_TaskIsIdle(VOID);
|
| 1417 | extern UINT32 zL1t_TaskIsIdlePrint(VOID);
|
| 1418 | #endif
|
| 1419 |
|
| 1420 | #if defined (PS_RAT_LTE)
|
| 1421 | extern BOOL zL1e_TaskIsIdle(BYTE bStackIns);
|
| 1422 | extern UINT32 zL1e_TaskIsIdlePrint(BYTE bStackIns);
|
| 1423 | #endif
|
| 1424 |
|
| 1425 | #if defined (PS_RAT_FDD)
|
| 1426 | extern BOOL zL1w_TaskIsIdle(VOID);
|
| 1427 | extern UINT32 zL1w_TaskIsIdlePrint(VOID);
|
| 1428 | #endif
|
| 1429 |
|
| 1430 | #endif /*endif USE_PSM*/
|
| 1431 | extern VOID zL1e_IratStartGapReq(BYTE bRat);
|
| 1432 | extern VOID zL1e_IratStopGapReq(BYTE bRat);
|
| 1433 | extern BYTE zL1e_IratStopGapCnf(BYTE bRat);
|
| 1434 | extern VOID zL1e_tstamp_get_time_gsm_antenna_free( T_zIR_TDMA_TIME_INFO *p_gsm_starttime,T_zIR_TDMA_TIME_INFO *p_tdma_time_result);
|
| 1435 | #ifdef PS_RAT_FDD
|
| 1436 | extern BOOL zL1w_meas_IratStopGapCnf(BYTE bRat);
|
| 1437 | extern VOID zL1w_meas_IratStartGapReq(BYTE bRat);
|
| 1438 | extern VOID zL1w_meas_IratStopGapReq(BYTE bRat);
|
| 1439 | extern VOID zL1w_irat_meas_start(T_zW_P_inter_freq_meas_req *pInterMeasReq);
|
| 1440 | extern VOID zL1w_irat_meas_stop (VOID);
|
| 1441 | extern VOID zL1w_irat_gap_start(T_zW_P_irat_gap_config_req *pGapConfigReq);
|
| 1442 | extern VOID zL1w_irat_gap_stop(VOID);
|
| 1443 | #endif
|
| 1444 | extern VOID zL1a_get_time_gsm_antenna_free(T_zIR_TDMA_TIME_INFO *p_gsm_starttime, T_zIR_TDMA_TIME_INFO *p_tdma_time_result);
|
| 1445 |
|
| 1446 | extern BOOL l1g_bch_busyflg(VOID);/*º¯Êý¹¦ÄÜ£º²éѯBCH COÊÇ·ñÕ¼ÓÃÉ䯵
|
| 1447 | ·µ»ØÖµTRUE ±íʾÕýÔÚÕ¼ÓÃÉ䯵 FALSE ±íʾûÓÐʹÓÃÉ䯵*/
|
| 1448 | extern BYTE zAs_GetTWLInstIndex(VOID);
|
| 1449 | extern BYTE zL1e_gsm_IsCon(VOID);
|
| 1450 |
|
| 1451 | #ifdef Z_SINGLEANTENNA
|
| 1452 | extern BYTE zAs_GetMinIndex(DWORD dwBitmap);
|
| 1453 | extern BYTE zIR_l1ud_tstamp_is_antenna_ready_for_gsm(T_zIR_TDMA_TIME_INFO *p_gsm_starttime,
|
| 1454 | T_zIR_TDMA_TIME_INFO *p_gsm_endtime);
|
| 1455 | extern BYTE zL1e_tstamp_is_antenna_ready_for_gsm(T_zIR_TDMA_TIME_INFO *p_gsm_starttime, T_zIR_TDMA_TIME_INFO *p_gsm_endtime);
|
| 1456 | extern BYTE zL1a_is_antenna_ready_for_gsm(T_zIR_TDMA_TIME_INFO *p_gsm_starttime, T_zIR_TDMA_TIME_INFO *p_gsm_endtime);
|
| 1457 | #else
|
| 1458 | extern BYTE zIR_l1ud_tstamp_is_antenna_ready_for_gsm(T_zIR_TDMA_TIME_INFO *p_gfn_free_until);
|
| 1459 | extern BYTE zL1e_tstamp_is_antenna_ready_for_gsm(T_zIR_TDMA_TIME_INFO *p_gfn_free_until);
|
| 1460 | extern BYTE zL1a_is_antenna_ready_for_gsm(T_zIR_TDMA_TIME_INFO *p_gfn_free_until);
|
| 1461 | #endif
|
| 1462 | #endif
|
| 1463 | extern BYTE zEucer_GetRrcStateForPSM(VOID);
|
| 1464 |
|
| 1465 | extern BOOL zGrr_IsLimitServiceState(BYTE bStkId);
|
| 1466 | extern BOOL zGrr_GetReselState(BYTE bStkId);
|
| 1467 | extern BOOL zGrr_IsPowerOffProc(BYTE bStkId);
|
| 1468 | extern BYTE zUcsr_IsInReadPreDefProc(VOID);
|
| 1469 | extern LONG zL1g_GetLastTxPwr(BYTE bStkId);
|
| 1470 |
|
| 1471 | #ifdef Z_SEND_TO_SIMPHY
|
| 1472 | extern UINT32 zL1g_SendMsgToNet(UINT32 msg_id, const VOID *buf, UINT16 msg_len, ZOSS_TASK_ID task_id);
|
| 1473 | extern UINT32 zL1g_SendMsgToNet_Sec(UINT32 msg_id, const VOID *buf, UINT16 msg_len, ZOSS_TASK_ID task_id);
|
| 1474 | #endif
|
| 1475 |
|
| 1476 | #endif
|