blob: efc5c01bcad58be562d5b4bc5786870bb0a3c9f2 [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) 2005
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 * ratcm_gas_struct.h
40 *
41 * Project:
42 * --------
43 * MONZA
44 *
45 * Description:
46 * ------------
47 *
48 *
49 * Author:
50 * -------
51 * -------
52 *
53 ******************************************************************************/
54
55#ifndef _RATCM_GAS_STRUCT_H
56#define _RATCM_GAS_STRUCT_H
57
58
59#ifdef __GEMINI__
60#include "rsvas_enum.h"
61#endif
62
63/* add RHR */
64#include "ratcm_gas_enums.h"
65#include "mcd_l3_inc_struct.h"
66#include "l3_inc_enums.h"
67#include "l3_inc_local.h"
68#include "rr_mpal_interface.h"
69#include "l3llc_enums.h"
70#include "kal_general_types.h"
71#include "ps_public_enum.h"
72#include "nas_as_inter_core_enum.h"
73#include "gmss_public.h"
74#include "ratcm_as_struct.h"
75
76#include "nas_sv_struct.h"
77#include "mmi2mm_struct.h"
78/*----------------------------------------------------------------------------*/
79/* pre-define struct */
80/*----------------------------------------------------------------------------*/
81
82/*----------------------------------------------------------------------------*/
83/* GAS to RATCM */
84/*----------------------------------------------------------------------------*/
85
86typedef struct{
87 LOCAL_PARA_HDR
88 plmn_id_struct plmn_id;
89 kal_uint16 arfcn;
90 kal_uint8 request_band;
91}ratcm_gas_set_mru_req_struct;
92
93typedef struct{
94 LOCAL_PARA_HDR
95 set_mru_result_enum result;
96}ratcm_gas_set_mru_cnf_struct;
97
98typedef struct{
99 LOCAL_PARA_HDR
100 domain_id_enum cn_domain_id;
101 as_est_cnf_cause_enum result;
102 kal_bool wait_gibi_flag;
103 kal_bool is_rrc_conn_already_existed;
104}ratcm_gas_conn_est_cnf_struct;
105
106typedef struct{
107 LOCAL_PARA_HDR
108 kal_bool is_successful;
109 domain_id_enum cn_domain_id;
110 kal_bool is_t3126_expiry;
111}ratcm_gas_conn_est_ind_struct;
112
113typedef struct{
114 LOCAL_PARA_HDR
115 kal_bool is_successful;
116 domain_id_enum cn_domain_id;
117 kal_bool ps_resume_flag;
118 kal_bool wait_gibi_flag;
119}ratcm_gas_conn_rel_cnf_struct;
120
121typedef struct{
122 LOCAL_PARA_HDR
123 domain_id_enum cn_domain_id;
124 kal_bool ps_resume_flag;
125 kal_bool wait_gibi_flag;
126}ratcm_gas_conn_rel_ind_struct;
127
128typedef struct{
129 LOCAL_PARA_HDR
130 DC_Priority sapi;
131 kal_uint8 mui;
132 kal_bool is_successful;
133}ratcm_gas_data_cnf_struct;
134
135typedef struct{
136 LOCAL_PARA_HDR
137 domain_id_enum cn_domain_id;
138}ratcm_gas_data_ind_struct;
139
140typedef struct{
141 LOCAL_PARA_HDR
142 as_plmn_list_struct plmn_list;
143 scan_type_enum scan_type;
144 plmn_list_result_enum cause;
145 kal_bool is_complete; // If list not complete, the available list is not complete too.
146 kal_bool is_plmn_list_aborted; //indicate if the PLMN List is aborted by PLMN_LIST_ABORT_REQ
147}ratcm_gas_plmn_list_cnf_struct;
148
149typedef struct{
150 LOCAL_PARA_HDR
151#ifdef __LTE_RAT__
152 csfb_indicator_enum csfb_indicator;
153#endif /* __LTE_RAT__ */
154 as_plmn_list_struct plmn_list;
155 plmn_loss_reason_enum plmn_loss_reason;
156}ratcm_gas_plmn_loss_ind_struct;
157
158typedef struct{
159 LOCAL_PARA_HDR
160 domain_id_enum cn_domain_id;
161 ue_id_type_enum ue_id_type;
162 kal_uint8 ue_identity[9];
163}ratcm_gas_page_ind_struct;
164
165typedef struct{
166 LOCAL_PARA_HDR
167 kal_uint8 trx_id;
168 plmn_search_result_enum result;
169 plmn_id_struct selected_plmn;
170 kal_bool is_plmn_list_valid;
171 as_plmn_list_struct plmn_list;
172 scan_type_enum scan_type;
173 kal_bool is_stored_list_exist; // only for stored search not for fullband + fullband and stored
174 fullband_result_enum is_fullband_finished;
175 kal_bool is_quick_search;
176}ratcm_gas_plmn_search_cnf_struct;
177
178typedef struct
179{
180 LOCAL_PARA_HDR
181 plmn_id_struct plmn_id;
182 as_cell_type_enum cell_type;
183 /// source from cell reselection or search
184 found_ind_source_enum source;
185 cell_id_union cell_id;
186} ratcm_gas_plmn_found_ind_struct;
187
188typedef struct{
189 LOCAL_PARA_HDR
190 ready_timer_status_enum status;
191}ratcm_gas_ready_timer_update_ind_struct;
192
193typedef struct{
194 LOCAL_PARA_HDR
195 sync_ind_cause_enum cause;
196 channel_type_enum channel_type;
197 channel_mode_enum channel_mode;
198 kal_bool is_ciphering_on;
199}ratcm_gas_sync_ind_struct;
200
201typedef struct{
202 LOCAL_PARA_HDR
203 kal_uint16 gibi_tag;
204 plmn_id_struct plmn_id;
205 kal_uint16 cell_id;
206 as_cell_type_enum cell_type;
207 kal_uint16 access_class;
208 kal_bool cell_support_ps;
209 kal_bool cell_support_cs;
210 kal_uint8 la_code[2];
211 kal_uint8 ra_code;
212 kal_uint8 att_flag;
213 kal_uint8 t3212_timer_val;
214 kal_uint8 nmo;
215 kal_uint8 mscr;
216 kal_uint8 sgsnr;
217 kal_uint8 cell_support_egprs;
218#ifdef __LTE_RAT__
219 kal_bool is_gprs_info_in_si13_deferred;
220#endif /* __LTE_RAT__ */
221 kal_uint8 band;
222}ratcm_gas_sys_info_ind_struct;
223
224typedef struct{
225 LOCAL_PARA_HDR
226 plmn_id_struct plmn_id;
227 kal_uint8 la_code[2];
228 kal_uint16 cell_id;
229}ratcm_gas_cell_global_identity_info_ind_struct;
230
231#if defined(__UMTS_RAT__) || defined (__LTE_RAT__)
232typedef struct{
233 LOCAL_PARA_HDR
234 domain_id_enum connection_domain;
235 rat_type_enum active_rat;
236} ratcm_gas_cell_change_finish_ind_struct;
237#endif /* defined(__UMTS_RAT__) || defined (__LTE_RAT__)*/
238
239#ifdef __GEMINI__
240typedef struct {
241 LOCAL_PARA_HDR
242 kal_uint8 is_success; /*TRUE if session can be started*/
243 kal_uint8 req_id;
244} ratcm_gas_ps_session_start_cnf_struct;
245#endif
246
247#ifdef __LTE_RAT__
248typedef struct{
249 LOCAL_PARA_HDR
250 irat_type_enum irat_type;
251 rat_type_enum source_rat;
252 rat_type_enum target_rat;
253 void* as_info_ptr;
254}ratcm_gas_rat_change_ind_struct;
255
256typedef struct {
257 LOCAL_PARA_HDR
258 irat_type_enum irat_type;
259 rat_type_enum source_rat;
260 rat_type_enum target_rat;
261 irat_result_enum irat_result;
262 void* as_info_ptr;
263 domain_id_enum connection_domain;
264} ratcm_gas_rat_change_cnf_struct;
265
266
267#endif /* __LTE_RAT__ */
268
269typedef struct{
270 LOCAL_PARA_HDR
271 ue_capability_struct capability;
272} ratcm_gas_cap_update_req_struct;
273
274typedef struct{
275 LOCAL_PARA_HDR
276 kal_bool is_successful; /* Indicates whether enabling or disabling capability is successful. */
277} ratcm_gas_cap_update_cnf_struct;
278
279
280/*----------------------------------------------------------------------------*/
281/* RATCM to GAS */
282/*----------------------------------------------------------------------------*/
283
284typedef struct{
285 LOCAL_PARA_HDR
286 kal_bool is_sim_inserted;
287
288 /* ALPS01612057: In orginial design, MM will queue SIM_ERROR during PLMN search,
289 but this causes SIM status unsynced between AS/NAS. Because SIM_READY is sent
290 from SIM to RR whereas SIM_ERROR is sent only from SIM to MM. MM proposes the
291 solution: delete pending SIM_READY to sync AS/NAS sim status. */
292 kal_bool is_delete_pending;
293}ratcm_gas_sim_info_reset_req_struct;
294
295typedef struct{
296 LOCAL_PARA_HDR
297}ratcm_gas_clear_mru_req_struct;
298
299typedef struct{
300 LOCAL_PARA_HDR
301 kal_uint8 la_code[2];
302 forbidden_la_type_enum forbidden_la_type;
303 plmn_id_struct plmn_id;
304}ratcm_gas_add_forbidden_la_req_struct;
305
306typedef struct{
307 LOCAL_PARA_HDR
308 kal_uint8 mui;
309 kal_uint16 gibi_tag;
310 domain_id_enum cn_domain_id;
311 gas_est_cause_enum estb_cause;
312#ifdef __LTE_RAT__
313 csfb_indicator_enum csfb_indicator;
314 csfb_service_type_enum csfb_service_type;
315#endif /* __LTE_RAT__ */
316 kal_bool is_imsi_detach;
317}ratcm_gas_conn_est_req_struct;
318
319typedef struct{
320 LOCAL_PARA_HDR
321 domain_id_enum cn_domain_id;
322}ratcm_gas_conn_rel_req_struct;
323
324typedef struct{
325 LOCAL_PARA_HDR
326 kal_uint8 mui;
327 kal_uint16 gibi_tag;
328 domain_id_enum cn_domain_id;
329 kal_bool is_imsi_detach;
330}ratcm_gas_data_req_struct;
331
332typedef struct{
333 LOCAL_PARA_HDR
334 kal_uint8 la_code[2];
335 plmn_id_struct plmn_id;
336 kal_bool delete_all;
337}ratcm_gas_del_forbidden_la_req_struct;
338
339typedef struct{
340 LOCAL_PARA_HDR
341 kal_uint8 eq_plmn_count;
342 plmn_id_struct eq_plmn_id[MAX_NUM_EQ_PLMN];
343}ratcm_gas_eq_plmn_list_update_req_struct;
344
345typedef struct{
346 LOCAL_PARA_HDR
347 //kal_uint8 requested_band; /* refer to gsm_band_enum */
348 kal_uint8 drx_para[2]; /* for split paging cycle and non-drx timer */
349 kal_uint8 imeisv_value_digit0;
350 kal_uint8 imeisv_value_digit_byte[8];
351#ifdef __MONITOR_PAGE_DURING_TRANSFER__
352 gprs_transfer_preference_enum prefer;
353#endif /* __MONITOR_PAGE_DURING_TRANSFER__ */
354 init_cause_enum init_cause;
355}ratcm_gas_init_req_struct;
356
357#ifdef __DYNAMIC_BAND_SEL__
358/* MAUI_01972920 */
359typedef struct{
360 LOCAL_PARA_HDR
361 kal_uint8 gsm_band; /* refer to band_selection_enum value*/
362}ratcm_gas_set_preferred_band_req_struct;
363#endif
364
365typedef struct{
366 LOCAL_PARA_HDR
367 kal_bool is_tmsi_lai_present;
368 kal_uint8 tmsi[4];
369 lai_struct reg_lai;
370 kal_bool is_ptmsi_rai_present;
371 kal_uint8 ptmsi[4];
372 rai_struct reg_rai;
373}ratcm_gas_paging_param_assign_req_struct;
374
375typedef struct{
376 LOCAL_PARA_HDR
377 kal_bool is_manual_list;
378 scan_type_enum scan_type;
379 kal_uint8 plmn_count;
380 plmn_id_struct plmn_id[MAX_NUM_SEARCH_PLMN];
381 found_mcc_info_struct found_mcc_info;
382 kal_uint32 num_of_band; //number of valid records in band list
383 /*Band list for MCC Band for PLMN list optimization*/
384 kal_uint16 band_list[MAX_SEARCH_BAND_LIST_SIZE];
385 user_list_type_enum user_list_type;
386 kal_uint8 given_number_of_plmn; // used for the USER_LIST_TYPE_GIVEN_TIMER_NUMBER. When xAS found the given number of plmn, xAS return PLMN_LIST_CNF. When value is 0 means xAS do complete list, no need care it.
387#ifdef __IPC_NETWORK_SCAN__
388 network_scan_input_struct network_scan_input;
389#endif
390}ratcm_gas_plmn_list_req_struct;
391
392typedef struct
393{
394 LOCAL_PARA_HDR
395 kal_bool is_user_plmn_list_ongoing;
396} ratcm_gas_plmn_list_status_update_req_struct;
397
398typedef struct{
399 LOCAL_PARA_HDR
400 kal_uint8 trx_id;
401 plmn_search_type_enum plmn_search_type;
402 kal_uint8 plmn_id_count;
403 plmn_id_struct plmn_id[MAX_NUM_SEARCH_PLMN];
404 search_param_container_struct as_param_container;
405 gsm_search_param_container_struct gsm_param;
406}ratcm_gas_plmn_search_req_struct;
407
408typedef struct{
409 LOCAL_PARA_HDR
410 rat_enum rat_info;
411}ratcm_gas_plmn_loss_info_update_req_struct;
412
413typedef struct{
414 LOCAL_PARA_HDR
415 action_on_ready_timer_enum action;
416 gmm_ms_state_enum new_state;
417 kal_uint32 value;
418}ratcm_gas_ready_timer_update_req_struct;
419
420typedef struct{
421 LOCAL_PARA_HDR
422 regn_proc_status_enum proc_status;
423 kal_uint32 t3212_or_t3302;
424 gmm_ms_state_enum ms_state;
425 mmas_regn_status_enum regn_status;
426 plmn_search_status_enum plmn_search_status;
427 plmn_search_type_enum plmn_search_type;
428 /* __AUTH_FAIL_BAR_CELL__ */
429 lai_struct lai; /* for bar cell list */
430 kal_uint32 cell_id; /* for bar cell list (argument type sync. with UAS) */
431 /* __AUTH_FAIL_BAR_CELL__ */
432}ratcm_gas_regn_status_update_req_struct;
433
434typedef struct{
435 LOCAL_PARA_HDR
436 kal_uint8 r_eq_plmn_count;
437 plmn_id_struct r_eq_plmn_id[MAX_NUM_EQ_PLMN];
438} ratcm_gas_rplmn_eq_plmn_list_update_req_struct;
439
440typedef struct{
441 LOCAL_PARA_HDR
442 kal_bool is_gprs_required;
443}ratcm_gas_service_change_req_struct;
444
445typedef struct{
446 LOCAL_PARA_HDR
447 rat_enum rat;
448 rat_enum reported_rat;
449}ratcm_gas_set_rat_mode_req_struct;
450
451typedef struct{
452 LOCAL_PARA_HDR
453 kal_uint32 old_tlli;
454 kal_uint32 new_tlli;
455 tlli_update_type_enum status_tlli;
456 rai_struct rai;
457}ratcm_gas_tlli_assign_req_struct;
458
459#ifdef __MONITOR_PAGE_DURING_TRANSFER__
460typedef struct{
461 LOCAL_PARA_HDR
462 gprs_transfer_preference_enum prefer;
463}ratcm_gas_set_gprs_transfer_preference_req_struct;
464#endif /* __MONITOR_PAGE_DURING_TRANSFER__ */
465
466typedef struct {
467 LOCAL_PARA_HDR
468 kal_bool cbch_req;
469} ratcm_gas_cbch_req_struct;
470
471typedef struct {
472 LOCAL_PARA_HDR
473 kal_uint16 cbmi[CB_MAX_MSG_CBMI_NUM];
474 kal_uint16 cbmid[CB_MAX_MSG_CBMID_NUM];
475 kal_uint16 cbmir[CB_MAX_MSG_CBMIR_NUM];
476 kal_uint16 dcs[CB_MAX_LANG_NUM];
477 kal_bool is_all_language_on;
478 l4c_cb_set_type_enum set_type;
479} ratcm_gas_cb_update_req_struct;
480
481typedef struct {
482 LOCAL_PARA_HDR
483 kal_uint16 mi;
484 kal_uint16 sn;
485} ratcm_gas_cb_msg_removal_req_struct;
486
487typedef struct {
488 LOCAL_PARA_HDR
489 kal_uint16 sn;
490 kal_uint16 mi;
491 kal_uint8 dcs;
492 kal_uint8 page;
493 kal_uint8 pages;
494 kal_uint8 is_mids;
495 kal_uint8 mi_index;
496 kal_uint8 page_data[CB_MAX_DATA_NUM_PER_PAGE];
497
498 kal_uint8 valid_blk_num;
499} ratcm_gas_cb_page_ind_struct;
500
501typedef struct {
502 LOCAL_PARA_HDR
503 cb_geography_enum geography_type;
504} ratcm_gas_cb_gs_change_ind_struct;
505
506typedef struct {
507 LOCAL_PARA_HDR
508 kal_bool is_expiry; /*KAL_TRUE: T3122 expires, MM will retry LU immediately
509 KAL_FALSE: T3122 is stopped */
510} ratcm_gas_t3122_timeout_ind_struct;
511
512typedef struct {
513 LOCAL_PARA_HDR
514 kal_bool is_expiry; /*KAL_TRUE: CCO activation timer expires, MM will retry LU immediately
515 KAL_FALSE: CCO activation timer is stopped */
516} ratcm_gas_cco_activation_time_timeout_ind_struct;
517
518typedef struct {
519 LOCAL_PARA_HDR
520 kal_uint8 plmn_id_count;
521 plmn_id_struct plmn_id[MD1_MAX_NUM_HPLMN]; /* MAX_NUM_HPLMN: 4 */
522 kal_uint8 home_country_mcc[3];
523} ratcm_gas_hplmn_info_update_req_struct; //mtk02475: for MAUI_02456964
524
525#if defined(__GEMINI__)
526
527typedef struct {
528 LOCAL_PARA_HDR
529 kal_uint8 sim_config_status;
530 kal_uint8 sim_insert_status;
531} ratcm_gas_sim_status_update_req_struct;
532
533#endif /* __GEMINI__ || __SGLTE__ */
534
535#ifdef __GEMINI__
536typedef struct {
537 LOCAL_PARA_HDR
538} ratcm_gas_suspend_ind_struct;
539
540
541/* MAUI_02865693 */
542typedef struct {
543 LOCAL_PARA_HDR
544 as_gemini_status_enum as_gemini_status;
545} ratcm_gas_virtual_mode_ind_struct;
546
547/* MAUI_02877191, this message contains no local_param except for GEMINI2.0 */
548typedef struct {
549 LOCAL_PARA_HDR
550 as_gemini_status_enum as_gemini_status;
551} ratcm_gas_resume_ind_struct;
552
553#endif /* __GEMINI__ */
554
555#if defined(__GEMINI__) && defined( __UMTS_RAT__)
556typedef struct {
557 LOCAL_PARA_HDR
558} ratcm_gas_no_ir_sig_proc_req_struct;
559#endif
560
561typedef struct
562{
563 LOCAL_PARA_HDR
564 kal_uint8 imeisv_value_digit0;
565 kal_uint8 imeisv_value_digit_byte[8];
566}ratcm_gas_set_imei_req_struct;
567
568#if defined(__GEMINI__) && defined( __LTE_RAT__)
569typedef struct {
570 LOCAL_PARA_HDR
571 cs_status_enum status;
572} ratcm_gas_cs_status_update_req_struct;
573#endif
574
575#ifdef __LTE_RAT__
576typedef struct{
577 LOCAL_PARA_HDR
578 irat_type_enum irat_type;
579 rat_type_enum source_rat;
580 rat_type_enum target_rat;
581 void* as_info_ptr;
582 ratcm_gas_security_mode_req_struct security_mode_info;
583 csfb_indicator_enum csfb_indicator;
584 kal_bool is_lai_valid;
585 lai_struct lai;
586}ratcm_gas_rat_change_req_struct;
587
588typedef struct {
589 LOCAL_PARA_HDR
590 irat_type_enum irat_type;
591 rat_type_enum source_rat;
592 rat_type_enum target_rat;
593 irat_result_enum irat_result;
594 irat_reject_cause_enum irat_reject_cause; //Reject cause when irat_result is equal to IR_RESULT_REJECT.
595 void* as_info_ptr;
596} ratcm_gas_rat_change_rsp_struct;
597
598typedef struct{
599 LOCAL_PARA_HDR
600 paging_type_enum paging_type;
601 csfb_service_type_enum paging_service;
602 kal_bool is_paging_retry;
603}ratcm_gas_page_req_struct;
604
605#endif /* __LTE_RAT__ */
606#if 0
607/* under construction !*/
608/* under construction !*/
609/* under construction !*/
610/* under construction !*/
611/* under construction !*/
612/* under construction !*/
613/* under construction !*/
614/* under construction !*/
615/* under construction !*/
616/* under construction !*/
617/* under construction !*/
618/* under construction !*/
619/* under construction !*/
620#endif
621
622typedef struct{
623 LOCAL_PARA_HDR
624 aral_op_enum op_code;
625 plmn_id_struct plmn;
626 kal_uint8 ara_start[2];
627 kal_uint8 ara_end[2];
628}ratcm_gas_aral_update_req_struct;
629
630typedef struct {
631 LOCAL_PARA_HDR
632 kal_uint8 num_of_nw;
633 emc_forbidden_nw_list_struct nw_list[MAX_FORBIDDEN_NETWORK_NUM];
634} ratcm_gas_emc_forbidden_nw_list_update_req_struct;
635
636
637typedef struct {
638 LOCAL_PARA_HDR
639 kal_bool is_pgcheck_on;
640} ratcm_gas_set_pgcheck_req_struct;
641
642typedef struct
643{
644 LOCAL_PARA_HDR
645 call_status_enum call_status;
646 call_type_indication_enum call_type;
647} ratcm_gas_call_status_ind_struct;
648
649/*Sniffer related message structures*/
650//MSG_ID_RATCM_GAS_SNIFFER_START_REQ
651typedef ratcm_as_sniffer_start_req_struct ratcm_gas_sniffer_start_req_struct;
652
653//MSG_ID_RATCM_GAS_SNIFFER_STOP_REQ
654typedef ratcm_as_sniffer_stop_req_struct ratcm_gas_sniffer_stop_req_struct;
655
656//MSG_ID_RATCM_GAS_SIGNAL_APPEAR_IND
657typedef ratcm_as_signal_appear_ind_struct ratcm_gas_signal_appear_ind_struct;
658
659//MSG_ID_RATCM_GAS_CHECK_ACTIVE_RAT_REQ,
660typedef ratcm_as_check_active_rat_req_struct ratcm_gas_check_active_rat_req_struct;
661
662//MSG_ID_RATCM_GAS_CHECK_ACTIVE_RAT_CNF
663typedef ratcm_as_check_active_rat_cnf_struct ratcm_gas_check_active_rat_cnf_struct;
664
665//MSG_ID_RATCM_GAS_SET_ACTIVE_RAT_REQ,
666typedef ratcm_as_set_active_rat_req_struct ratcm_gas_set_active_rat_req_struct;
667
668//MSG_ID_RATCM_GAS_SET_ACTIVE_RAT_CNF
669typedef ratcm_as_set_active_rat_cnf_struct ratcm_gas_set_active_rat_cnf_struct;
670
671#ifdef __GEMINI__
672typedef struct{
673 LOCAL_PARA_HDR
674 kal_bool is_data_allowed;
675}ratcm_gas_data_allow_req_struct;
676#endif
677
678typedef struct{
679 LOCAL_PARA_HDR
680 plmn_band_struct plmn_band;
681}ratcm_gas_plmn_band_ind_struct;
682
683typedef struct {
684 LOCAL_PARA_HDR
685 rfoff_cause_enum rfoff_cause;
686} ratcm_gas_rfoff_req_struct;
687typedef struct {
688 LOCAL_PARA_HDR
689 kal_bool is_auth_download_ongoing;
690} ratcm_gas_rsim_auth_download_req_struct;
691
692typedef struct
693{
694 LOCAL_PARA_HDR
695 kal_bool normal_oos_recovery_round_present;
696 kal_uint8 normal_oos_recovery_round; // default value = 5, range [2, 10]
697 kal_bool inactive_fullband_period_present;
698 kal_uint16 inactive_fullband_period; // default = 200s, range: [90, 360]
699 kal_bool inactive_sniffer_period_present;
700 kal_uint8 inactive_sniffer_period; // default = 30s, range: [10, 60]
701 kal_bool is_inactive_mode_present;
702 kal_bool is_inactive_mode; // True: enter inactive mode, False: leave inactive mode
703} ratcm_gas_inactive_mode_configuration_req_struct;
704
705typedef struct
706{
707 LOCAL_PARA_HDR
708 kal_bool is_over_inactive_mode_threshold; // True: recovery counter > normal_oos_recovery_round
709} ratcm_gas_service_recovery_round_update_req_struct;
710
711typedef struct {
712 LOCAL_PARA_HDR
713 elevator_mode_enum elevator_mode;
714} ratcm_gas_elevator_mode_req_struct;
715
716typedef struct {
717 LOCAL_PARA_HDR
718 csfb_page_config_enum csfb_page_config;
719}ratcm_gas_csfb_page_config_req_struct;
720
721typedef struct
722{
723 LOCAL_PARA_HDR
724 network_scan_2g_output_struct nw_scan_2g_output;
725} ratcm_gas_plmn_scan_ind_struct;
726
727
728typedef gmmreg_lte_normal_service_loss_update_req_struct ratcm_gas_lte_normal_service_loss_update_req_struct ;
729
730typedef struct
731{
732 LOCAL_PARA_HDR
733 plmn_id_struct plmn_id;
734} ratcm_gas_plmn_info_update_req_struct;
735
736typedef ratcm_gas_cb_msg_removal_req_struct ratcm_gas_cb_dup_det_timer_stop_ind_struct;
737
738#endif /* _RATCM_GAS_STRUCT_H */