blob: 91846bed44807c6e773f3527c961345bdb168868 [file] [log] [blame]
yu.dongc33b3072024-08-21 23:14:49 -07001/*****************************************************************************
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 * rac2l4c_struct.h
40 *
41 * Project:
42 * --------
43 * MAUI
44 *
45 * Description:
46 * ------------
47 * This file is intends for structure definition between RAC and L4C.
48 *
49 * Author:
50 * -------
51 * -------
52 *
53 *==============================================================================
54 *******************************************************************************/
55
56/********************************************************************************
57* Copyright Statement:
58* --------------------
59*
60* This product has been developed using a protocol stack
61* developed by Sasken Communication Technologies Limited.
62*
63********************************************************************************/
64
65
66/*******************************************************************************
67* Copyright Statement:
68* --------------------
69* This software is protected by Copyright and the information contained
70* herein is confidential. The software may not be copied and the information
71* contained herein may not be used or disclosed except with the written
72* permission of MediaTek Inc. (C) 2002
73*
74*******************************************************************************
75 * FILENAME : rac2l4c_struct.h
76 * SYNOPSIS : Functions for encoding/decoding.
77 *
78 * R E V I S I O N H I S T O R Y
79 *
80 */
81#ifndef _RAC2L4C_STRUCT_H
82#define _RAC2L4C_STRUCT_H
83
84//#include "kal_non_specific_general_types.h"
85#include "kal_public_defs.h"
86#include "ps_public_enum.h"
87#include "mcd_l3_inc_struct.h"
88#include "l3_inc_local.h"
89#include "kal_general_types.h"
90#include "l4c_common_enum.h"
91#include "l4crac_enums.h"
92#include "l3_inc_enums.h"
93#include "ps_public_struct.h"
94#include "gmss_public.h"
95#include "rac_gmss_struct.h"
96#include "l4c2rac_struct.h"
97#include "c2k_irat_msg_struct.h"
98#include "rac_nas_sv_struct.h"
99#include "rac_vgmm_struct.h"
100#include "global_type.h"
101#ifdef __MBIM_MS_NETWORK_BLACKLIST__
102#include "l5_l4c_enums.h"
103#endif
104
105typedef struct {
106 plmn_id_struct plmn_id;
107 kal_uint8 status;
108} plmn_info_struct;
109
110typedef struct {
111 LOCAL_PARA_HDR
112 l4c_source_id_enum src_id; /* source id*/
113 l4c_rac_response_enum response; /* OK*/
114} l4crac_act_cnf_struct;
115
116typedef struct {
117 LOCAL_PARA_HDR
118 l4c_source_id_enum src_id; /* source id*/
119 plmn_selection_mode_enum plmn_sel_mode; /* AUTO/MANUAL*/
120 l4c_rac_response_enum gsm_status; /* OK/No Cell/Limited service*/
121 l4c_rac_gprs_status_enum gprs_status; /* l4c_rac_gprs_status_enum */
122// kal_uint8 acq_service; /* acquired service: CS/PS/CS_PS*/
123 cell_info_and_rat_struct cell_info;
124 /* MAUI_01650679, __NW_REGISTRATION_CAUSE__ */
125 mm_cause_enum cause; /* registration result */
126} l4crac_reg_cnf_struct;
127
128typedef struct {
129 LOCAL_PARA_HDR
130 l4c_source_id_enum src_id; /* source id*/
131 l4c_rac_gprs_status_enum gprs_status; /* l4c_rac_gprs_status_enum */
132 data_speed_support_enum cell_data_speed_support;
133} l4crac_ps_reg_cnf_struct;
134
135typedef struct {
136 LOCAL_PARA_HDR
137 l4c_source_id_enum src_id; /* source id*/
138 //kal_uint8 service; /* CS/PS/CS_PS*/
139 //kal_uint8 status; /* l4c_rac_dereg_cnf_status_enum */
140 data_speed_support_enum cell_data_speed_support;
141} l4crac_dereg_cnf_struct;
142
143typedef struct {
144 LOCAL_PARA_HDR
145 l4c_source_id_enum src_id; /* source id*/
146 l4c_rac_response_enum response; /* OK or ERROR */
147 mm_cause_enum cause;
148 kal_uint8 num_of_hplmn;
149 rac_plmn_list_struct plmn_list;
150 data_speed_support_enum cell_data_speed_support;
151 user_list_type_enum user_list_type;
152} l4crac_plmn_list_cnf_struct;
153
154typedef struct {
155 LOCAL_PARA_HDR
156 rac_plmn_list_struct plmn_list;
157 list_ind_source_enum source;
158} l4crac_plmn_list_ind_struct;
159
160typedef struct {
161 LOCAL_PARA_HDR
162 reg_state_ind_struct reg_state_ind;
163} l4crac_reg_state_ind_struct;
164
165typedef struct {
166 LOCAL_PARA_HDR
167 domain_id_enum domain; /* domain_id_enum */
168 mm_cause_enum cause; /* mm_cause_enum */
169} l4crac_reg_cause_ind_struct;
170
171typedef struct {
172 LOCAL_PARA_HDR
173 kal_uint8 scell_number_ul;
174 kal_uint8 scell_number_dl;
175 data_speed_support_enum cell_data_speed_support;
176} l4crac_ps_bearer_info_ind_struct;
177
178#if 0 //rx_level, mtk02285, remove old interface
179/* under construction !*/
180/* under construction !*/
181/* under construction !*/
182/* under construction !*/
183/* under construction !*/
184/* under construction !*/
185#endif /* 0 */
186
187typedef struct {
188 LOCAL_PARA_HDR
189 kal_bool full_nw_nameP;
190 kal_uint8 full_nw_name_len;
191 kal_uint8 full_nw_name[MAX_NW_NAME_LENGTH];
192 kal_bool short_nw_nameP;
193 kal_uint8 short_nw_name_len;
194 kal_uint8 short_nw_name[MAX_NW_NAME_LENGTH];
195 kal_bool nw_time_zoneP;
196 kal_uint8 nw_time_zone;
197 kal_bool nw_time_zone_timeP;
198 nw_time_zone_time_struct nw_time_zone_time;
199 kal_bool lsa_idP;
200 kal_uint8 lsa_id_len;
201 kal_uint8 lsa_id[3];
202 kal_bool nw_day_light_saving_timeP;
203 kal_uint8 nw_day_light_saving_time;
204 /* MAUI_01664028, mtk02118: added for MMI to exactly know which PLMN the NITZ comes from */
205 plmn_id_struct plmn_id;
206 kal_uint8 domain; /* 0: CS domain, 1: PS domain */
207} l4crac_nw_info_ind_struct; /* Struct shall be the same as gmmreg_nw_info_ind_struct. */
208
209typedef struct {
210 LOCAL_PARA_HDR
211 l4c_source_id_enum src_id; /* source id*/
212 l4c_rac_response_enum gsm_status; /* OK/No Cell/Limited service*/
213 l4c_rac_gprs_status_enum gprs_status; /* l4c_rac_gprs_status_enum */
214} l4crac_class_change_cnf_struct;
215
216#if 0 // MOLY00083802 remove band related codes in RAC
217/* under construction !*/
218/* under construction !*/
219/* under construction !*/
220/* under construction !*/
221/* under construction !*/
222/* under construction !*/
223/* under construction !*/
224#endif
225
226typedef struct {
227 LOCAL_PARA_HDR
228 kal_bool is_gsm_conn_exist;
229 gmmreg_cipher_ind_enum gsm_cipher_cond;
230 gmmreg_cipher_ind_enum gprs_cipher_cond;
231} l4crac_cipher_ind_struct; /* Must same as gmmreg_cipher_ind_struct */
232
233typedef struct {
234 LOCAL_PARA_HDR
235 cell_info_and_rat_struct cell_info;
236 l4c_rac_response_enum gsm_status; /* l4c_rac_response_enum */
237} l4crac_hz_cell_info_update_ind_struct;
238
239typedef struct {
240 LOCAL_PARA_HDR
241 kal_bool is_dedicated_mode;
242} l4crac_hz_dedicated_mode_ind_struct;
243
244typedef struct {
245 LOCAL_PARA_HDR
246 kal_bool is_pkt_transfer_mode;
247} l4crac_hz_pkt_transfer_mode_ind_struct;
248
249typedef struct {
250 LOCAL_PARA_HDR
251 mmi_event_enum event_id; //mmi_event_enum
252} l4crac_ps_event_report_ind_struct;
253
254typedef struct {
255 LOCAL_PARA_HDR
256 l4c_source_id_enum src_id;
257 kal_bool result;
258} l4crac_set_roaming_mode_cnf_struct;
259
260typedef struct {
261 LOCAL_PARA_HDR
262 l4c_source_id_enum src_id; /* source id*/
263 l4c_rac_response_enum gsm_status; /* l4c_rac_response_enum */
264 l4c_rac_gprs_status_enum gprs_status; /* l4c_rac_gprs_status_enum */
265 mm_cause_enum cause;
266 cell_info_and_rat_struct cell_info;
267 data_speed_support_enum cell_data_speed_support;
268} l4crac_plmn_search_cnf_struct;
269
270typedef struct {
271 LOCAL_PARA_HDR
272 l4c_source_id_enum src_id;
273 kal_bool result;
274 mm_cause_enum cause;
275} l4crac_set_rat_mode_cnf_struct;
276
277typedef struct {
278 LOCAL_PARA_HDR
279 l4c_source_id_enum src_id;
280} l4crac_plmn_list_stop_cnf_struct;
281
282typedef struct {
283 LOCAL_PARA_HDR
284 l4c_source_id_enum src_id;
285 kal_bool result;
286} l4crac_set_prefer_rat_cnf_struct;
287
288
289//#ifdef __GEMINI__
290typedef struct {
291 LOCAL_PARA_HDR
292 l4c_rac_mmrr_service_status_enum service_status;
293} l4crac_mmrr_service_status_ind_struct; //GEMINI, 20080217
294//#endif
295
296//#ifdef __REL5__
297typedef struct {
298 kal_uint8 category;
299 l4_addr_bcd_struct tel_number;
300} rac_ecc_number_struct;
301
302typedef struct {
303 LOCAL_PARA_HDR
304 kal_uint8 no_ecc; //number of ECC list
305 rac_ecc_number_struct ecc_list[MAX_NW_ECC_NUM]; //ECC list
306} l4crac_nw_ecc_ind_struct;
307
308typedef struct {
309 LOCAL_PARA_HDR
310 kal_bool is_ecc_changed;
311 kal_uint8 no_ecc; //number of ECC list
312 rac_ecc_number_struct ecc_list[MAX_NW_ECC_NUM]; //ECC list
313 kal_bool is_eenl_changed; // tell L4 if eenl changed
314 plmn_id_struct eenl_plmn;
315} l4crac_nw_ecc_eenl_ind_struct;
316
317
318//#endif
319typedef struct {
320 LOCAL_PARA_HDR
321 kal_uint8 susp_id;
322 susp_resu_source_enum target;
323} l4crac_suspend_status_ind_struct;
324
325typedef struct {
326 LOCAL_PARA_HDR
327 l4c_source_id_enum src_id;
328 end_session_result_enum result;
329} l4crac_end_ps_data_session_cnf_struct;
330
331typedef struct {
332 LOCAL_PARA_HDR
333 l4c_source_id_enum src_id;
334 susp_resu_result_enum result;
335 susp_resu_source_enum target;
336} l4crac_susp_resu_update_cnf_struct;
337
338typedef struct {
339 LOCAL_PARA_HDR
340 l4c_source_id_enum src_id; /* source id*/
341 l4c_rac_response_enum response; /* OK or ERROR */
342 mm_cause_enum cause;
343 rac_csg_list_struct csg_list;
344} l4crac_csg_list_cnf_struct;
345
346typedef struct {
347 LOCAL_PARA_HDR
348 l4c_source_id_enum src_id;
349} l4crac_csg_list_stop_cnf_struct;
350
351typedef struct
352{
353 LOCAL_PARA_HDR
354 rat_enum active_rat;
355} l4crac_active_rat_ind_struct;
356
357typedef struct
358{
359 LOCAL_PARA_HDR
360 l4c_source_id_enum src_id;
361 kal_bool result;
362} l4crac_set_sms_preference_cnf_struct;
363
364typedef struct
365{
366 LOCAL_PARA_HDR
367 l4c_rac_sms_preference_enum sms_preference;
368} l4crac_update_sms_preference_ind_struct;
369
370typedef struct
371{
372 LOCAL_PARA_HDR
373 l4c_source_id_enum src_id;
374 kal_bool result;
375} l4crac_set_voice_domain_preference_cnf_struct;
376
377typedef struct
378{
379 LOCAL_PARA_HDR
380 l4c_source_id_enum src_id;
381 kal_bool result;
382} l4crac_ims_reg_status_update_cnf_struct;
383
384typedef struct
385{
386 LOCAL_PARA_HDR
387 l4c_source_id_enum src_id;
388 kal_bool result;
389} l4crac_set_ue_usage_setting_cnf_struct;
390
391typedef struct
392{
393 LOCAL_PARA_HDR
394 l4c_source_id_enum src_id;
395 kal_bool result;
396} l4crac_set_ue_mode_cnf_struct;
397
398typedef struct
399{
400 LOCAL_PARA_HDR
401 l4c_source_id_enum src_id;
402} l4crac_set_ims_voice_availability_cnf_struct;
403
404typedef struct
405{
406 LOCAL_PARA_HDR
407 l4c_source_id_enum src_id;
408} l4crac_set_ims_sms_availability_cnf_struct;
409
410#ifdef __VOLTE_SUPPORT__
411typedef struct
412{
413 LOCAL_PARA_HDR
414 voice_domain_preference_enum eutran_voice_domain_preference;
415 ue_usage_setting_enum ue_usage_setting;
416 ue_mode_enum ue_mode;
417} l4crac_uemode_param_update_ind_struct;
418#endif /* __VOLTE_SUPPORT__ */
419
420typedef struct l4crac_nw_feature_ind_struct
421{
422 LOCAL_PARA_HDR
423 rat_enum active_rat;
424 union
425 {
426 vgmm_nw_feature_support_struct nr;
427 emm_nw_feature_support_struct eps;
428 gmm_nw_feature_support_struct ug;
429 } nw_feature;
430} l4crac_nw_feature_ind_struct;
431
432typedef struct
433{
434 LOCAL_PARA_HDR
435 kal_bool is_update_is_searching;
436 kal_bool is_searching;
437
438} l4crac_plmn_status_ind_struct;
439
440typedef struct{
441 LOCAL_PARA_HDR
442 irat_result_enum result;
443 emm_cause_enum emm_cause;
444 esm_cause_enum esm_cause;
445 kal_bool is_attach_needed;
446}l4crac_attach_result_ind_struct;
447
448typedef struct
449{
450 LOCAL_PARA_HDR
451 nwsel_ims_service_enum service_type;
452 kal_bool is_t311_expire; /* RRC connection release due to RRC T311 timer expire */
453} l4crac_ims_service_ind_struct;
454
455#ifdef __VOLTE_SUPPORT__
456typedef struct
457{
458 LOCAL_PARA_HDR
459 l4c_source_id_enum src_id;
460 kal_bool result;
461} l4crac_set_mm_ims_voice_termination_cnf_struct;
462#endif /* __VOLTE_SUPPORT__ */
463
464typedef struct
465{
466 LOCAL_PARA_HDR
467 l4c_source_id_enum src_id;
468 kal_bool result;
469} l4crac_disable_eutran_cnf_struct;
470
471typedef rac_gmss_rat_select_ind_struct l4crac_rat_select_ind_struct;
472
473#if 0
474/* under construction !*/
475/* under construction !*/
476/* under construction !*/
477/* under construction !*/
478/* under construction !*/
479/* under construction !*/
480#endif
481typedef rac_gmss_duplex_mode_change_ind_struct l4crac_duplex_mode_change_ind_struct;
482
483typedef struct {
484 LOCAL_PARA_HDR
485 l4c_source_id_enum src_id;
486 kal_bool result;
487} l4crac_duplex_mode_change_cnf_struct;
488
489typedef struct {
490 LOCAL_PARA_HDR
491 kal_bool is_mode_changed;
492 kal_bool utran_fdd;
493 kal_bool utran_tdd_lcr;
494 kal_bool eutran_fdd;
495 kal_bool eutran_tdd;
496 mode_switch_cause_enum cause;
497}l4crac_duplex_mode_required_cnf_struct;
498
499typedef struct {
500 LOCAL_PARA_HDR
501 l4c_source_id_enum src_id;
502 } l4crac_clear_mru_cnf_struct;
503
504typedef struct
505{
506 LOCAL_PARA_HDR
507 l4c_source_id_enum src_id;
508 set_mru_result_enum result;
509} l4crac_set_mru_cnf_struct;
510
511typedef struct
512{
513 LOCAL_PARA_HDR
514 l4c_source_id_enum src_id;
515 set_aux_plmn_result_enum result;
516} l4crac_set_aux_plmn_cnf_struct;
517
518typedef struct
519{
520 LOCAL_PARA_HDR
521 esm_cause_enum esm_cause;
522 emm_cause_enum emm_cause;
523 mm_cause_enum mm_cause;
524 emm_cause_source_enum emm_cause_source;
525 reg_state_enum gsm_state; /* reg_state_enum */
526 reg_state_enum gprs_state; /* reg_state_enum */
527 domain_id_enum domain;
528 rat_enum rat;
529 kal_bool is_auth_reject_during_attach;
530 integ_protect_status_enum is_integ_protected;
531 mm_cause_enum abnormal_lu_cause;
532}l4crac_reg_combined_cause_ind_struct;
533
534typedef struct
535{
536 LOCAL_PARA_HDR
537 kal_bool enable;
538} l4crac_update_sms_over_sgs_cfg_ind_struct;
539
540typedef struct
541{
542 LOCAL_PARA_HDR
543 l4c_source_id_enum src_id;
544 kal_bool result;
545} l4crac_set_sms_over_sgs_cnf_struct;
546
547typedef struct
548{
549 LOCAL_PARA_HDR
550 rat_enum rat;
551 kal_uint8 event_type; // 0: successful completion of RAU procedure
552 // 1: successful completion of TAU procedure
553}l4crac_nw_reg_status_ind_struct;
554
555typedef struct {
556 LOCAL_PARA_HDR
557 l4c_source_id_enum src_id;
558 rat_enum rat_mode; //User's setting, could be RAT_GSM or RAT_UMTS or RAT_LTE or RAT_GSM_UMTS_LTE
559 kal_bool is_pgcheck_on;
560}l4crac_set_pgcheck_req_struct;
561
562typedef struct {
563 LOCAL_PARA_HDR
564 l4c_source_id_enum src_id;
565 rat_enum rat_mode; //User's setting, could be RAT_GSM or RAT_UMTS or RAT_LTE or RAT_GSM_UMTS_LTE
566 kal_bool is_pgcheck_on;
567 kal_uint8 causes; // causes to be ignored.
568} l4crac_set_pgcheckext_req_struct;
569
570typedef struct
571{
572 LOCAL_PARA_HDR
573 l4c_source_id_enum src_id;
574 omadm_cmd_type_enum cmd;
575 kal_bool result; // TRUE=>pass, FALSE=>error
576 omadm_node_type_enum node_type; // OMADM node
577 kal_uint32 node_value;
578} l4crac_omadm_update_cnf_struct;
579
580#define VZWMRU_UPDATE_RESULT_NUM_MAX 10
581
582typedef struct
583{
584 LOCAL_PARA_HDR
585 l4c_source_id_enum src_id;
586 mru_cmd_type_enum cmd;
587 kal_bool result; //TRUE=>pass, FALSE=>error
588 mmss_list_type_enum list_type; // RAL or MRU
589 kal_uint32 entry_num; //used only when cmd=QUERY
590 vzwmru_entry_struct entries[SYS_MAX_MMSS_REC_NUM]; //used only when cmd=QUERY
591} l4crac_vzwmru_update_cnf_struct;
592
593typedef struct
594{
595 LOCAL_PARA_HDR
596 l4c_source_id_enum src_id;
597} l4crac_set_hvolte_mode_cnf_struct;
598
599typedef struct
600{
601 LOCAL_PARA_HDR
602 kal_bool is_1x_service_available;
603} l4crac_c2k_service_ind_struct;
604
605typedef struct
606{
607 LOCAL_PARA_HDR
608 irat_ps_type_enum access_type;
609 kal_uint16 sid;
610 kal_uint16 nid;
611 kal_uint8 pzid;
612 kal_uint16 base_id;
613 kal_uint32 sector_id[4];
614 kal_uint8 subnet_length;
615 kal_uint8 carrier_id[7];
616} l4crac_c2k_cell_info_ind_struct;
617
618typedef struct
619{
620 LOCAL_PARA_HDR
621 kal_bool is_cs_conn_start;
622} l4crac_1x_conn_status_ind_struct;
623
624typedef struct
625{
626 LOCAL_PARA_HDR
627 rat_enum availabel_rat;
628 kal_uint8 cause;
629 kal_uint8 trans_id;
630} l4crac_emc_service_ind_struct;
631
632typedef struct {
633 LOCAL_PARA_HDR
634 rat_enum new_reported_rat;
635 kal_bool is_home;
636} l4crac_reported_rat_change_ind_struct;
637
638typedef struct {
639 LOCAL_PARA_HDR
640 kal_uint8 src_id;
641 custom_plmn_type_enum type;
642 kal_uint16 no_plmn_entry;
643 kal_uint8 *plmn_data;
644}l4crac_get_custom_plmn_list_cnf_struct;
645
646typedef struct {
647 LOCAL_PARA_HDR
648 l4c_source_id_enum src_id;
649 prefer_rat_type_enum type;
650 rat_enum prefer_rat;
651 kal_uint32 rat_num;
652 rat_enum rat_order[MAX_SUPPORTED_RAT];
653}l4crac_get_prefer_rat_cnf_struct;
654
655
656typedef struct {
657 LOCAL_PARA_HDR
658 rat_enum rat;
659 rat_duplex_type_enum duplex_type;
660 plmn_id_struct plmn_id;
661 kal_uint8 la_code[2];
662 kal_uint8 ta_code[3];
663 kal_uint64 cell_id; /* CELL ID*/
664} l4crac_camped_cell_info_ind_struct;
665//Korea - KT UI display (Add Cell bandwidth of LTE cell)
666typedef struct {
667 LOCAL_PARA_HDR
668 kal_uint16 bandwidth;
669}l4crac_lte_bandwidth_ind_struct;
670
671typedef struct {
672 LOCAL_PARA_HDR
673 plmn_id_struct plmn_id;
674}l4crac_plmn_found_ind_struct;
675
676typedef struct
677{
678 LOCAL_PARA_HDR
679 RATCM_RRC_ReleaseCause rrc_rel_cause;
680}l4crac_rrc_conn_rel_ind_struct;
681
682
683typedef struct
684{
685 LOCAL_PARA_HDR
686 l4c_source_id_enum src_id;
687} l4crac_ims_scm_cnf_struct;
688
689#ifdef __GEMINI__ //__REMOTE_SIM__
690typedef struct {
691 LOCAL_PARA_HDR
692 l4c_source_id_enum src_id;
693}l4crac_rsim_auth_abort_cnf_struct;
694
695typedef struct {
696 LOCAL_PARA_HDR
697 kal_bool is_virtual_connected;
698}l4crac_virtual_mode_ind_struct;
699
700typedef struct {
701 LOCAL_PARA_HDR
702 rsim_auth_finish_result_enum result;
703}l4crac_auth_finish_ind_struct;
704
705#endif
706
707typedef rac_gmss_ims_call_end_status_ind_struct l4crac_ims_call_end_status_ind_struct;
708typedef rac_gmss_c2k_csfb_start_ind_struct l4crac_c2k_csfb_start_ind_struct;
709typedef rac_gmss_hvolte_mode_change_ind_struct l4crac_hvolte_mode_change_ind_struct;
710typedef rac_gmss_suspend_egreg_update_ind_struct l4crac_suspend_egreg_update_ind_struct;
711
712typedef struct
713{
714 LOCAL_PARA_HDR
715 ca_info_enum ca_info;
716 kal_uint8 scell_bmp_dl;
717 kal_uint8 scell_bmp_ul;
718 kal_uint8 pcell_bw;
719 kal_uint8 scell_bw[4];
720 kal_uint16 pcell_band;
721 kal_uint16 scell_band[4];
722 EARFCN pcell_earfcn;
723 kal_uint16 scell_dl_band[4];
724 EARFCN scell_dl_earfcn[4];
725} l4crac_ca_info_ind_struct;
726
727typedef struct
728{
729 LOCAL_PARA_HDR
730 l4c_source_id_enum src_id;
731 kal_bool result;
732} l4crac_reset_ota_ctxt_cnf_struct;
733typedef struct
734{
735 LOCAL_PARA_HDR
736 l4c_source_id_enum src_id;
737 l4crac_rat_select_ind_struct last_rat_select_ind;
738} l4crac_get_last_rat_select_ind_cnf_struct;
739
740typedef struct {
741 LOCAL_PARA_HDR
742 nas_proc_enum nas_proc;
743 mm_cause_enum nas_rej_cause;
744 kal_uint8 attempt_counter;
745 rat_enum rat;
746 esm_cause_enum esm_cause;
747 lr_result_enum lr_result;
748}l4crac_nw_reg_rej_ind_struct; //MOLY00293006
749
750typedef l4crac_plmn_found_ind_struct l4c_peer_plmn_found_ind_struct;
751
752typedef struct {
753 LOCAL_PARA_HDR
754 kal_uint8 n3en_indicator; /* Non-3GPP NW emergency number indicator */
755} l4crac_non_3gpp_nw_policies_ind_struct; /* Non-3GPP NW provided policies IE */
756
757typedef struct {
758 LOCAL_PARA_HDR
759 plmn_id_struct current_plmn_id;
760} l4crac_eps_attach_needed_ind_struct;
761
762typedef struct
763{
764 LOCAL_PARA_HDR
765 kal_bool is_invalid;
766 rat_enum rat;
767 plmn_id_struct plmn_id;
768 kal_uint8 carrier_id[6];
769}l4crac_illegal_me_ind_struct;
770
771typedef rac_nas_sv_rat_change_start_ind_struct l4crac_rat_change_start_ind_struct;
772typedef rac_nas_sv_rat_change_finish_ind_struct l4crac_rat_change_finish_ind_struct;
773
774//should be the same as mm_emm_csfb_page_ind_struct
775typedef struct {
776 LOCAL_PARA_HDR
777 mm_emm_csfb_paging_id_enum csfb_paging_id; //Paging identity used in CS SERVICE NOTIFICATION
778 kal_bool is_cli_present; //Whether CLI (Calling Line Identification) IE exists or not
779 kal_uint8 cli_len; //Length of CLI
780 kal_uint8 cli[12]; //CLI value Refer to TS 24.008 subclause 10.5.4.9 Calling party BCD number for decoding.
781 kal_bool is_ss_code_present; //Whether SS code IE exists or not
782 kal_uint8 ss_code; //SS code value Refer to TS 29.002 subclause 17.7.5 for decoding.
783 kal_bool is_lcs_ind_present; //Whether LCS indicator IE exists or not
784 kal_uint8 lcs_indicatior; //LCS indicator value; 0x01: MT-LR, Other values: Normal, unspecified in this version of the protocol
785 kal_bool is_lcs_client_id_present; //Whether LCS client identity IE exists or not
786 kal_uint8 lcs_client_id_len; //Length of LCS client identity
787 kal_uint8 lcs_client_id[255]; //LCS client identity value, Refer to TS 29.002 subclause 17.7.13 for decoding.
788}l4crac_csfb_page_ind_struct;
789
790//should be the same as mm_emm_csfb_result_ind_struct
791typedef struct {
792 LOCAL_PARA_HDR
793 mm_emm_csfb_result_enum mt_ccsfb_status;
794}l4crac_csfb_result_ind_struct;
795
796typedef struct {
797 LOCAL_PARA_HDR
798 kal_bool reg_state;
799 rat_enum rat;
800 cell_info_union cell_info;
801 plmn_id_struct plmn_id;
802 restrict_dcnr_enum dcnr_restricted;
803}l4crac_camp_ui_ind_struct;
804
805typedef rac_nas_sv_nrrc_state_ind_struct l4crac_nrrc_state_ind_struct;
806typedef rac_vgmm_ims_uac_cnf_struct l4crac_uac_param_check_cnf_struct;
807typedef rac_vgmm_ims_uac_alleviation_ind_struct l4crac_uac_alleviation_ind_struct;
808
809typedef rac_gmss_try_switch_rat_result_ind_struct l4crac_try_switch_rat_result_ind_struct;
810
811typedef rac_vgmm_emergency_service_ind_struct l4crac_emergency_service_ind_struct;
812typedef rac_vgmm_emergency_service_cnf_struct l4crac_emergency_service_cnf_struct;
813typedef rac_vgmm_emergency_service_fallback_cnf_struct l4crac_emergency_service_fallback_cnf_struct;
814
815typedef rac_vgmm_set_nssai_req_struct l4crac_set_nssai_req_struct;
816typedef rac_vgmm_set_nssai_cnf_struct l4crac_set_nssai_cnf_struct;
817typedef rac_vgmm_get_nssai_req_struct l4crac_get_nssai_req_struct;
818typedef rac_vgmm_get_nssai_cnf_struct l4crac_get_nssai_cnf_struct;
819typedef rac_vgmm_set_pref_nssai_req_struct l4crac_set_pref_nssai_req_struct;
820typedef rac_vgmm_set_pref_nssai_cnf_struct l4crac_set_pref_nssai_cnf_struct;
821typedef rac_vgmm_nw_params_ind_struct l4crac_vgmm_nw_params_ind_struct;
822
823
824typedef struct
825{
826 LOCAL_PARA_HDR
827 rat_enum active_rat;
828 kal_bool is_ps_sim_valid;
829 kal_bool is_cs_sim_valid;
830//for MM
831 kal_uint16 event;
832 kal_uint16 original_cause;
833 kal_uint16 converted_cause;
834
835} l4crac_cause_info_ind_struct;
836
837typedef struct
838{
839 LOCAL_PARA_HDR
840 rat_enum rat; /*to indicate which RAT's indication*/
841
842 network_scan_rat_union_type nw_scan_rat_output;
843 nwsel_plmn_list_status_enum status;
844} l4crac_plmn_scan_ind_struct;
845
846typedef rac_nas_sv_cap_update_ind_struct l4crac_cap_update_ind_struct;
847
848typedef struct
849{
850 LOCAL_PARA_HDR
851 gprs_traffic_channel_status_enum traffic_channel_status;
852} l4crac_gprs_traffic_channel_status_ind_struct;
853
854typedef struct {
855 LOCAL_PARA_HDR
856 l4c_source_id_enum src_id;
857 kal_uint8 result;
858 } l4crac_set_save_rac_preference_cnf_struct;
859
860typedef struct
861{
862 LOCAL_PARA_HDR
863 kal_bool is_searching;
864} l4crac_as_plmn_search_report_ind_struct;
865
866#ifdef __MBIM_MS_NETWORK_BLACKLIST__
867typedef struct {
868 LOCAL_PARA_HDR
869 nw_black_list_operator_result_enum result;
870} l4crac_fplmn_action_cnf_struct;
871
872typedef struct {
873 LOCAL_PARA_HDR
874 kal_bool black_list_lock_state;
875 kal_bool is_init;
876 kal_uint16 no_plmn_entry;
877 kal_uint8 *plmn_data;
878} l4crac_nw_black_list_state_ind_struct;
879#endif
880
881#if defined(__ECALL_SUPPORT__) || defined(__NG_ECALL_SUPPORT__)
882typedef struct
883{
884 LOCAL_PARA_HDR
885 kal_bool result; /* 1 : success, 0: failure */
886} l4crac_set_ecall_registration_cnf_struct;
887
888typedef struct
889{
890 LOCAL_PARA_HDR
891 ecall_registration_state_enum ecall_reg_state;
892} l4crac_set_ecall_registration_state_ind_struct;
893#endif /* (__ECALL_SUPPORT__) || (__NG_ECALL_SUPPORT__) */
894
895#endif /* _RAC2L4C_STRUCT_H */
896