blob: bfd49d015a9d2baffff9bfa02f11bc8fb4378251 [file] [log] [blame]
rjw6c1fd8f2022-11-30 14:33:01 +08001/*****************************************************************************
2* Copyright Statement:
3* --------------------
4* This software is protected by Copyright and the information contained
5* herein is confidential. The software may not be copied and the information
6* contained herein may not be used or disclosed except with the written
7* permission of MediaTek Inc. (C) 2007
8*
9* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
10* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
11* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
12* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
13* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
14* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
15* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
16* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
17* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
18* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
19* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
20* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
21*
22* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
23* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
24* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
25* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
26* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
27*
28* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
29* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
30* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
31* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
32* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
33*
34*****************************************************************************/
35
36/*******************************************************************************
37 * Filename:
38 * ---------
39 * uas_gas_struct.h
40 *
41 * Project:
42 * --------
43 * MONZA
44 *
45 * Description:
46 * ------------
47 *
48 *
49 * Author:
50 * -------
51 * -------
52 *
53 * ==========================================================================
54 * $Log:$
55 *
56 * 10 24 2016 abhinav.agarwal
57 * [MOLY00209200] [Feature Request] [UMOLYA] CS Support during 3G call connection
58 * .
59 *
60 * 10 21 2016 richa.gupta
61 * [MOLY00208335] [MT6293] [B66] GAS code porting (interface part)
62 * .
63 *
64 * 02 26 2016 srihari.maddipati
65 * [MOLY00162461] ¦bAndroid???Modem??Logªº»Ý¨D
66 * .
67 *
68 * 09 02 2015 bruce.li
69 * [MOLY00125291] 23G PingPong Reselection Restrain - GAS
70 * .
71 *
72 * 07 08 2015 ming.lee
73 * [MOLY00087470] [Universal Bin] FDD GAS developement
74 * 3G CSG remove SAP option.
75 *
76 * 01 07 2015 yenchih.yang
77 * [MOLY00084256] [MEME] sync MT6291 to UMOLY
78 * Fix build error.
79 *
80 * 12 19 2014 birui.li
81 * [MOLY00087677] [U3G][TDD][UAS RRCE] modifications for U3G
82 * merge.
83 *
84 * 12 16 2014 claud.li
85 * [MOLY00087795] [MEME] universal bin check in
86 * [Universal bin][FDD][MEME/EAS/GAS] interface
87 *
88 * 12 15 2014 henry.lai
89 * [MOLY00087668] [MT6291][UBIN] Check in ERRC/CEL modifications
90 * .
91 *
92 * 11 14 2014 yenchih.yang
93 * [MOLY00084256] [MEME] sync MT6291 to UMOLY
94 * URR/MEME.
95 *
96 * 11 05 2014 ming.lee
97 * [MOLY00081154] [ATT_TMO_DEV] AT&T requirement merge back
98 * CSG fingerprint GAS part.
99 *
100 * 01 21 2014 wcpuser_integrator
101 * [MOLY00054475] SGLTE option rename
102 * .
103 *
104 * 11 13 2013 bo.wu
105 * [MOLY00046027] [MT6290E1][MMDS_DC] MMDC feature patch back to MOLY trunk
106 * .
107 *
108 * 07 24 2013 rujing.zhao
109 * [MOLY00031020] [MMDS_DC] Merge MMDC interface to MOLY
110 * .2->34G NBR transfer
111 *
112 * 07 23 2013 rujing.zhao
113 * [MOLY00023935] [MT6290E1][W/G][Target IT] Meas result is received so frequently when priority measurement and drx measurement are on-going
114 * .
115 *
116 * 07 23 2013 dongqing.qi
117 * [MOLY00023935] [MT6290E1][W/G][Target IT] Meas result is received so frequently when priority measurement and drx measurement are on-going
118 * .
119 *
120 * 07 23 2013 henry.lai
121 * [MOLY00023935] [MT6290E1][W/G][Target IT] Meas result is received so frequently when priority measurement and drx measurement are on-going
122 * .
123 *
124 * 07 03 2013 ming.lee
125 * [MOLY00026501] [GAS_UAS] Cipher status mismatch error handling
126 * .
127 *
128 * 05 09 2013 henry.lai
129 * [MOLY00009222] [GAS][Multi-Mode Development] Merge GAS multi-mode development to MOLY
130 * .
131 *
132 * 03 13 2013 c-hua.yang
133 * [MOLY00009184] [URR] Multimode Merge to MOLY
134 * .
135 *
136 * 01 22 2013 c-hua.yang
137 * [MOLY00009184] [URR] Multimode Merge to MOLY
138 * .
139 *
140 * 01 11 2013 henry.lai
141 * [Henry][Multi-Mode Development] GAS Development and R8 CR Sync
142 *
143 * 10 25 2012 ming.lee
144 * [MOLY00004236] [interface][service][kal]remove stack_ltlcom.h
145 * .
146 *
147 * 09 27 2012 yong.su
148 * [MOLY00004236] [interface][service][kal]remove stack_ltlcom.h
149 * <saved by Perforce>
150 *
151 * 09 26 2012 ye.yuan
152 * [MOLY00004173] [3G TDD][CISE]R9 code merge back to MOLY
153 * CSCE CODE Interface part .
154 *
155 * 06 29 2012 henry.lai
156 * [MOLY00000128] [MT6280][GAS] SI2Q/MEAS/RESEL improvement check-in
157 * .
158 *
159 * 05 25 2012 haizhou.liu
160 * removed!
161 * .
162 *
163 * 05 25 2012 yong.su
164 * removed!
165 * .
166 *
167 * 05 17 2012 peter.chien
168 * removed!
169 * .
170 *
171 * 05 02 2012 adeline.chang
172 * removed!
173 * .
174 *
175 * 01 11 2012 shunwen.hsiao
176 * removed!
177 * Check in TK6280_DVT_DEV to MT6280_DVT_DEV
178 *
179 * 01 06 2012 chi-chung.lin
180 * removed!
181 * .
182 *
183 * 11 14 2011 zengyu.hao
184 * removed!
185 * merge interface: uas_gas_struct.h
186 *
187 * 11 11 2011 evelyn.wang
188 * removed!
189 * .
190 *
191 * 11 09 2011 ryan.ou
192 * removed!
193 * .
194 *
195 * 12 17 2010 shunwen.hsiao
196 * removed!
197 * .
198 *
199 * 10 28 2010 maruco.tu
200 * removed!
201 * .
202 *
203 * 08 04 2010 william.chang
204 * removed!
205 * .
206 *
207 * removed!
208 * removed!
209 *
210 *
211 * removed!
212 * removed!
213 *
214 *
215 * removed!
216 * removed!
217 *
218 *
219 * removed!
220 * removed!
221 *
222 *
223 * removed!
224 * removed!
225 *
226 *
227 * removed!
228 * removed!
229 *
230 *
231 * removed!
232 * removed!
233 *
234 *
235 * removed!
236 * removed!
237 *
238 *
239 * removed!
240 * removed!
241 *
242 *
243 * removed!
244 * removed!
245 *
246 *
247 * removed!
248 * removed!
249 *
250 *
251 * removed!
252 * removed!
253 *
254 *
255 * removed!
256 * removed!
257 *
258 *
259 * removed!
260 * removed!
261 *
262 *
263 * removed!
264 * removed!
265 *
266 *
267 * removed!
268 * removed!
269 * Supported 3rd criteria for InterRAT cell reselection to UTRAN.
270 *
271 * removed!
272 * removed!
273 *
274 *
275 * removed!
276 * removed!
277 * Add copyright header.
278 ****************************************************************************/
279
280#ifndef _UAS_GAS_STRUCT_H
281#define _UAS_GAS_STRUCT_H
282
283#include "uas_gas_enums.h"
284#include "kal_general_types.h"
285#include "kal_public_api.h"
286#include "csi_umts_asn.h"
287#include "l3_inc_enums.h"
288#include "mcd_l3_inc_struct.h"
289#include "csi_gsm_asn.h"
290#include "irat_common_enums.h"
291#include "irat_common_struct.h"
292#include "uas_gas_inter_core_struct.h"
293#include "as_inter_core_enum.h"
294
295#ifdef __CMCC_STD_FR__
296#define MAX_CELL_NUM 27
297#endif
298
299//Common structure
300
301typedef struct {
302 kal_uint8 t3212_timer_val;
303 kal_bool att_flag;
304} ts_cs_specific_cn_info;
305
306
307//Dual mode MEME SAP start
308/*
309typedef struct
310{
311 LOCAL_PARA_HDR
312}uas_gas_config_gcell_meas_cnf_struct;*/
313
314/*
315typedef struct
316{
317 LOCAL_PARA_HDR
318 ts_ir_gsm_cell_rssi_info gsm_cell_rssi_info;
319}uas_gas_gcell_meas_ind_struct;*/
320
321/*
322typedef struct
323{
324 LOCAL_PARA_HDR
325 ts_ir_gsm_cell_bsic_info gsm_cell_bsic_info;
326}uas_gas_gcell_bsic_ind_struct;*/
327
328/*
329typedef struct {
330 LOCAL_PARA_HDR
331 ts_ir_umts_cell_list ir_umts_cell_list;
332}gas_uas_config_ucell_meas_req_struct;*/
333//Dual mode MEME SAP end
334
335typedef struct
336{
337 kal_uint32 cell_change_timeout;
338 /* MH: Added for informing GAS the CCO activation time (20070511) */
339 kal_uint32 cell_change_activation_time;
340 kal_uint32 wait_time;
341} IR3G2TimerStruct;
342
343typedef struct
344{
345 kal_uint8 numElements;
346 GSM_TargetCellInfo element[MAX_TARGET_GSM_CELLS_NUM]; /* Only the first numElements are valid */
347} GSM_TargetCellInfoList;
348
349//From GAS to UAS
350typedef struct
351{
352 LOCAL_PARA_HDR
353}uas_gas_config_gcell_meas_cnf_struct;
354
355typedef struct {
356 LOCAL_PARA_HDR
357 kal_uint8 list_ref;
358 FDD_meas_UmtsCellList umts_cell_list;
359#if defined(__GERAN_R5__) && defined(__UMTS_R5__)
360 kal_int8 fdd_rscp_min_in_dbm;
361#endif /* defined(__GERAN_R5__) && defined(__UMTS_R5__)*/
362 kal_uint16 first_meas_uarfcn; // invalid value = UAS_GAS_INVALID_UARFCN
363 kal_bool is_detected_cell_meas[FDD_MAX_NUM_MEASURED_UMTS_CARRIERS];
364 /* This flag is used to indicate whether measurement period should be reset
365 * immediately. (TRUE: meas is performed in the first DRX.
366 * FALSE: meas is performed in the first T-meas occasion)
367 * In current design, the following rules should be followed.
368 * (1)If number of ARFCN != 0, this flag will be set as FALSE only if tmeasure measurement
369 * is triggered when priority measurement is on-going (i.e., at
370 * least one of UMTS cells hits priority reselection criteria for priority
371 * based measurement reselection). For other case, this flag should
372 * be set as TRUE. If any improvement is needed, the usage limitation
373 * for this flag should be confirmed with UL1's colleague.
374 * (2) If number of ARFCN == 0, this flag will alwyas be set as FALSE;
375 */
376 kal_bool is_meas_period_reset;
377}fdd_gas_uas_config_ucell_meas_req_struct;
378
379typedef struct {
380 LOCAL_PARA_HDR
381 kal_uint8 list_ref;
382 TDD_meas_UmtsCellList umts_cell_list;
383 kal_uint16 first_meas_uarfcn; //in tdd, it is unused, invalid value = UAS_GAS_INVALID_UARFCN
384 kal_bool is_detected_cell_meas[TDD_MAX_NUM_MEASURED_UMTS_CARRIERS];
385 /* This flag is used to indicate whether measurement period should be reset
386 * immediately. (TRUE: meas is performed in the first DRX.
387 * FALSE: meas is performed in the first T-meas occasion)
388 * In current design, the following rules should be followed.
389 * (1)If number of ARFCN != 0, this flag will be set as FALSE only if tmeasure measurement
390 * is triggered when priority measurement is on-going (i.e., at
391 * least one of UMTS cells hits priority reselection criteria for priority
392 * based measurement reselection). For other case, this flag should
393 * be set as TRUE. If any improvement is needed, the usage limitation
394 * for this flag should be confirmed with UL1's colleague.
395 * (2) If number of ARFCN == 0, this flag will alwyas be set as FALSE;
396 */
397 kal_bool is_meas_period_reset;
398}tdd_gas_uas_config_ucell_meas_req_struct;
399
400typedef struct {
401 LOCAL_PARA_HDR
402 te_l1_availibility_status l1_availibility_status;
403}gas_uas_lower_layer_availability_req_struct;
404
405typedef struct {
406 LOCAL_PARA_HDR
407 te_ir_handover_status ir_handover_to_gsm_status;
408}uas_gas_ho_activate_gcell_cnf_struct;
409
410typedef struct {
411 LOCAL_PARA_HDR
412 te_ir_handover_status ir_handover_to_gsm_status;
413}uas_gas_handover_gcell_cnf_struct;
414
415typedef struct {
416 LOCAL_PARA_HDR
417 ts_ciphering_info ciphering_info;
418 plmn_search_type_enum plmn_search_type;
419}gas_uas_handover_ucell_req_struct;
420
421typedef struct {
422 LOCAL_PARA_HDR
423 lai_struct lai;
424 ts_cs_specific_cn_info gas_cs_cn_info;
425 /* __ALPS02506878_SUPPORT__ */
426 te_ir_call_type call_type;
427}gas_uas_ho_activate_ucell_req_struct;
428
429typedef struct {
430 LOCAL_PARA_HDR
431 te_ir_cell_reselection_status ir_cell_eval_status;
432 ts_eval_activate_fail_handle eval_activate_fail_handle;
433}uas_gas_evaluate_gcell_cnf_struct;
434
435typedef struct {
436 LOCAL_PARA_HDR
437 te_ir_cell_reselection_status ir_cell_activation_status;
438 ts_eval_activate_fail_handle eval_activate_fail_handle;
439 te_ir_cell_change_fail_reason_enum ir_cell_change_failed_reason;
440}uas_gas_activate_gcell_cnf_struct;
441
442typedef struct {
443 LOCAL_PARA_HDR
444}uas_gas_evaluate_gcell_stop_cnf_struct;
445
446typedef struct {
447 LOCAL_PARA_HDR
448 te_ir_cell_change_complete_status ir_cell_change_complete_status;
449 /*Byron: 2007/05/08: Add for real CCO fail cause*/
450 te_ir_cell_change_fail_reason_enum ir_cell_change_failed_reason;
451}uas_gas_gcell_change_complete_ind_struct;
452
453#ifdef __CMCC_STD_FR__
454typedef struct{
455 U16 cellId;
456 CsiUarfcn uarfcn;
457}CellPara;
458typedef struct{
459 LOCAL_PARA_HDR
460 U8 numElements;
461 CellPara elements[MAX_CELL_NUM];
462}std_fr_cell_list;
463typedef struct
464{
465 LOCAL_PARA_HDR
466 kal_uint8 frThreshold;
467 kal_uint8 numElements;
468 CsiUarfcn element[9];
469}gas_uas_std_fr_info_ind_struct;
470#endif
471
472#ifdef __CMCC_23G_PINGPONG_RESTRAIN__
473typedef struct {
474 LOCAL_PARA_HDR
475 kal_bool is_2G_start_resel_restrain;
476} gas_uas_resel_restrain_status_ind;
477#endif
478
479
480/* for R6 redirection feature */
481#if (defined(__GERAN_R6__) || defined(__CMCC_FR__) || defined(__CMCC_STD_FR__))
482
483/* Request to evaluate a cell
484 because of inter RAT cell reselection or network ordered cell change */
485typedef struct {
486 LOCAL_PARA_HDR
487 /* te_ir_cell_reselection_type ir_cell_reselection_type; depreted */
488 te_ir_cell_change_trigger ir_cell_change_trigger;
489 kal_bool notToCheck3rdCriterion; /* KAL_FALSE: check 3rd Criterion
490 KAL_TRUE: don't check, i.e., if IRCR candidate is from APBCR/CSG, 3rd criterion will not be checked */
491 plmn_search_type_enum plmn_search_type;
492 te_umts_mode target_cell_mode;
493 ts_umts_target_cell_union target_cell;
494} gas_uas_evaluate_ucell_req_struct;
495
496/* Request to activate a cell without an evaluation phase */
497typedef struct {
498 LOCAL_PARA_HDR
499 kal_uint32 cell_change_timeout; /* value in milli seconds or zero when not required */
500 /* te_ir_cell_reselection_type ir_cell_reselection_type; depreted */
501 te_ir_cell_change_trigger ir_cell_change_trigger;
502 kal_bool notToCheck3rdCriterion; /* KAL_FALSE: check 3rd Criterion
503 KAL_TRUE: don't check, i.e., if IRCR candidate is from APBCR/CSG, 3rd criterion will not be checked */
504 plmn_search_type_enum plmn_search_type;
505 te_umts_mode target_cell_mode;
506 ts_umts_target_cell_union target_cell; /* For IR_CELL_CHANGE_ORDER */
507#if (defined(__GERAN_R6__) || defined(__CMCC_FR__))
508 CsiUmtsCellList redirection_list; /* For IR_REDIRECTION */
509#endif
510#ifdef __CMCC_STD_FR__
511 std_fr_cell_list std_fr_cell_list;
512#endif
513} gas_uas_activate_ucell_req_struct;
514
515#else
516
517/* Request to evaluate a cell
518 because of inter RAT cell reselection or network ordered cell change */
519typedef struct {
520 LOCAL_PARA_HDR
521 kal_uint16 cell_change_timeout; /* value in seconds or zero when not required */
522 /* te_ir_cell_reselection_type ir_cell_reselection_type; depreted */
523 te_ir_cell_change_trigger ir_cell_change_trigger;
524 kal_bool notToCheck3rdCriterion; /* KAL_FALSE: check 3rd Criterion
525 KAL_TRUE: don't check, i.e., if IRCR candidate is from APBCR/CSG, 3rd criterion will not be checked */
526 plmn_search_type_enum plmn_search_type;
527 te_umts_mode target_cell_mode;
528 ts_umts_target_cell_union target_cell;
529} gas_uas_evaluate_ucell_req_struct;
530
531/* Request to activate a cell without an evaluation phase */
532typedef gas_uas_evaluate_ucell_req_struct gas_uas_activate_ucell_req_struct;
533#endif /* (defined(__GERAN_R6__) && defined(__UMTS_R6__)) || defined (__FDD_REDIRECTION__) */
534
535/* Request to stop an ongoing evaluation */
536typedef struct {
537 LOCAL_PARA_HDR
538} gas_uas_evaluate_ucell_stop_req_struct;
539
540#ifdef __LTE_RAT__
541typedef struct {
542 LOCAL_PARA_HDR
543 eutran_cap_enum eutran_cap;
544} gas_uas_eutran_cap_update_ind_struct;
545#endif /* __LTE_RAT__ */
546
547//From UAS to GAS
548typedef struct {
549 LOCAL_PARA_HDR
550 ts_ciphering_info ciphering_info;
551 plmn_search_type_enum plmn_search_type;
552 te_gsm_band_indicator band_indicator;
553 kal_uint16 message_length;
554#ifdef __TC7__CS__SUPPORT__
555 kal_bool is_fast_return_to_umts;
556#endif
557} uas_gas_handover_gcell_req_struct;
558
559typedef struct {
560 LOCAL_PARA_HDR
561 kal_uint8 t3212_timer_val;
562 kal_bool att_flag;
563 kal_uint32 wait_time;
564 /* __ALPS02506878_SUPPORT__ */
565 te_ir_call_type call_type;
566} uas_gas_ho_activate_gcell_req_struct;
567
568typedef struct {
569 LOCAL_PARA_HDR
570 te_ir_handover_status ir_handover_to_utran_status;
571} gas_uas_handover_ucell_cnf_struct;
572
573typedef struct {
574 LOCAL_PARA_HDR
575 te_ir_handover_status ir_handover_to_utran_status;
576} gas_uas_ho_activate_ucell_cnf_struct;
577
578typedef struct {
579 LOCAL_PARA_HDR
580 kal_uint8 list_ref;
581#ifdef __TDD_DM_GAP_OPTIMIZATION__
582 kal_bool is_bsic_gap_valid;
583#endif
584 te_ir_urrc_state urrc_state;
585 ts_ir_gsm_cell_list gsm_cell_list;
586 /* This flag is used to indicate whether measurement period should be reset
587 * immediately. (TRUE: meas is performed in the first DRX.
588 * FALSE: meas is performed in the first T-meas occasion)
589 * In current design, the following rules should be followed.
590 * (1)If num of GSM cells != 0, this flag will be set as FALSE only if tmeas,gsm measurement
591 * is triggered when priority measurement is on-going (i.e., at
592 * least one of GSM cells hits priority reselection criteria for priority
593 * based measurement reselection). For other case, this flag should
594 * be set as TRUE. If any improvement is needed, the usage limitation
595 * for this flag should be confirmed with GL1's colleague.
596 * (2) If num of GSM cells == 0, this flag will alwyas be set as FALSE;
597 */
598 kal_bool is_meas_period_reset;
599}uas_gas_config_gcell_meas_req_struct;
600
601typedef struct {
602 LOCAL_PARA_HDR
603}fdd_gas_uas_config_ucell_meas_cnf_struct;
604
605typedef struct {
606 LOCAL_PARA_HDR
607}tdd_gas_uas_config_ucell_meas_cnf_struct;
608
609typedef struct {
610 LOCAL_PARA_HDR
611 te_l1_availibility_status l1_availibility_status;
612}uas_gas_lower_layer_availability_req_struct;
613
614typedef struct {
615 LOCAL_PARA_HDR
616 te_ir_cell_reselection_status ir_cell_eval_status;
617 ts_eval_activate_fail_handle eval_activate_fail_handle;
618}gas_uas_evaluate_ucell_cnf_struct;
619
620typedef struct {
621 LOCAL_PARA_HDR
622 te_ir_cell_reselection_status ir_cell_activation_status;
623 ts_eval_activate_fail_handle eval_activate_fail_handle;
624 /*Byron: 2007/05/08: Add for real CCO fail cause*/
625 te_ir_cell_change_fail_reason_enum ir_cell_change_failed_reason;
626}gas_uas_activate_ucell_cnf_struct;
627
628typedef struct {
629 LOCAL_PARA_HDR
630}gas_uas_evaluate_ucell_stop_cnf_struct;
631
632typedef struct {
633 LOCAL_PARA_HDR
634 te_ir_cell_change_complete_status ir_cell_change_complete_status;
635 /*Byron: 2007/05/08: Add for real CCO fail cause*/
636 te_ir_cell_change_fail_reason_enum ir_cell_change_failed_reason;
637}gas_uas_ucell_change_complete_ind_struct;
638
639
640typedef struct {
641 LOCAL_PARA_HDR
642 te_ir_cell_change_trigger ir_cell_change_trigger;
643 plmn_search_type_enum plmn_search_type;
644 GSM_TargetCellInfo target_gcell_info;
645} uas_gas_evaluate_gcell_req_struct;
646
647typedef struct {
648 LOCAL_PARA_HDR
649 te_ir_cell_change_trigger ir_cell_change_trigger;
650 plmn_search_type_enum plmn_search_type;
651 GSM_TargetCell_Info_union target_gcell_info;
652 GSM_TargetCell_SI_Info_union target_gcell_si_info;
653 kal_uint32 cell_change_activation_time; /* milli-seconds, */
654 kal_uint32 cell_change_timeout; /* value in milli-seconds or zero when not required */
655 kal_uint32 wait_time; /* milli-seconds: 0~15000 ms, GAS should not reselect back to UMTS/LTE within "wait_time" period */
656 kal_bool nc_mode_present; /* if TRUE nc_mode is present */
657 kal_uint8 nc_mode; /* Optional, present if nc_mode_present is TRUE */
658} uas_gas_activate_gcell_req_struct;
659
660typedef struct {
661 LOCAL_PARA_HDR
662}uas_gas_evaluate_gcell_stop_req_struct;
663
664typedef struct {
665 LOCAL_PARA_HDR
666 kal_int8 q_rxlev_min; /* Range -115 to -25 dBm */
667 kal_uint8 p_compensation; /* Range 0 to 12 dBm */
668}uas_gas_cell_reselection_params_req_struct;
669#if 0 /*brwang, 20080830, this definition should be placed before uas_gas_evaluate_gcell_req_struct*/
670/* under construction !*/
671/* under construction !*/
672/* under construction !*/
673/* under construction !*/
674/* under construction !*/
675/* under construction !*/
676/* under construction !*/
677/* under construction !*/
678/* under construction !*/
679/* under construction !*/
680/* under construction !*/
681/* under construction !*/
682/* under construction !*/
683#endif
684
685
686#if (defined(__UMTS_R5__) && defined(__GERAN_R5__))
687typedef struct {
688 LOCAL_PARA_HDR
689 kal_bool isCompressedVersion;
690} gas_uas_ho_umts_info_ind_struct;
691
692typedef struct {
693 LOCAL_PARA_HDR
694 kal_bool isCompressedVersion;
695} gas_uas_ho_umts_info_rsp_struct;
696#endif
697
698typedef struct{
699 LOCAL_PARA_HDR
700 plmn_search_type_enum plmn_search_type;
701 auto_search_cmd_enum auto_search_cmd;
702 kal_uint8 num_carriers;
703 kal_uint16 csg_uarfcn[MAX_NUM_CSG_CARRIERS];
704} gas_uas_search_csg_ucell_req_struct;
705
706typedef struct{
707 LOCAL_PARA_HDR
708 search_status_enum search_status;
709 kal_uint8 num_carriers;
710 ts_3G_csg_ucell_evluation_result csg_ucell_evluation_result_list[MAX_NUM_CSG_CARRIERS];
711} gas_uas_search_csg_ucell_cnf_struct;
712
713typedef struct{
714 LOCAL_PARA_HDR
715 plmn_search_type_enum plmn_search_type;
716 auto_search_cmd_enum auto_search_cmd;
717 kal_uint8 num_carriers;
718 kal_uint16 csg_uarfcn[MAX_NUM_CSG_CARRIERS];
719} gas_uas_evaluate_csg_ucell_req_struct;
720
721typedef struct{
722 LOCAL_PARA_HDR
723 search_status_enum search_status;
724 kal_uint8 num_carriers;
725 ts_3G_csg_ucell_evluation_result csg_ucell_evluation_result_list[MAX_NUM_CSG_CARRIERS];
726} gas_uas_evaluate_csg_ucell_cnf_struct;
727
728typedef struct{
729 LOCAL_PARA_HDR
730 plmn_id_struct csg_plmn;
731 kal_uint32 csg_id;
732 kal_uint32 csg_cell_id;
733 kal_uint32 csg_frequency;
734 kal_uint16 csg_physical_cell_id;
735} uas_gas_build_fingerprint_req_struct;
736
737#if defined(__LTE_RAT__) || defined(__23G_PRI_RESEL_SUPPORT__)
738typedef struct {
739 LOCAL_PARA_HDR
740 kal_uint8 list_ref;
741 te_ir_urrc_state urrc_state;
742 kal_int16 prio_meas_period;
743 ts_ir_gsm_cell_list gsm_cell_list;
744}uas_gas_config_gcell_prio_meas_req_struct;
745
746typedef struct {
747 LOCAL_PARA_HDR
748}fdd_gas_uas_config_ucell_prio_meas_cnf_struct;
749
750typedef struct {
751 LOCAL_PARA_HDR
752}tdd_gas_uas_config_ucell_prio_meas_cnf_struct;
753
754typedef struct
755{
756 LOCAL_PARA_HDR
757}uas_gas_config_gcell_prio_meas_cnf_struct;
758
759typedef struct {
760 LOCAL_PARA_HDR
761 kal_uint8 list_ref;
762 kal_int16 prio_meas_period;
763 FDD_meas_UmtsCellList umts_cell_list;
764 kal_int8 fdd_rscp_min_in_dbm;
765 kal_uint16 first_meas_uarfcn; // invalid value = UAS_GAS_INVALID_UARFCN
766 kal_bool is_detected_cell_meas[FDD_MAX_NUM_MEASURED_UMTS_CARRIERS];
767}fdd_gas_uas_config_ucell_prio_meas_req_struct;
768
769typedef struct {
770 LOCAL_PARA_HDR
771 kal_uint8 list_ref;
772 kal_int16 prio_meas_period;
773 TDD_meas_UmtsCellList umts_cell_list;
774 //kal_int8 fdd_rscp_min_in_dbm;
775 kal_int8 tdd_rscp_min_in_dbm;
776 kal_uint16 first_meas_uarfcn; // invalid value = UAS_GAS_INVALID_UARFCN
777 kal_bool is_detected_cell_meas[TDD_MAX_NUM_MEASURED_UMTS_CARRIERS];
778}tdd_gas_uas_config_ucell_prio_meas_req_struct;
779#endif /* defined(__LTE_RAT__) || defined(__23G_PRI_RESEL_SUPPORT__) */
780
781
782#ifdef __LTE_RAT__
783typedef struct {
784 LOCAL_PARA_HDR
785 eutran_cap_enum eutran_cap;
786} uas_gas_eutran_cap_update_ind_struct;
787#endif /* __LTE_RAT__ */
788
789
790#endif /* _UAS_GAS_STRUCT_H */
791
792