blob: 57e06796317a8585d8e36865118c53678acf29b1 [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) 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 * PARTS OF THIS FILE ARE AUTOGENERATED
38 * DO NOT EDIT EXCEPT BETWEEN LINES MARKED !BEGIN MANUAL CODE and !END MANUAL CODE
39 * Assignment :
40 * CONFIDENTIAL
41 * Copyright (c) 2000-2005, UbiNetics Ltd. All rights reserved.
42 * Cambridge Technology Centre
43 * Melbourn Royston
44 * Herts SG8 6DP UK
45 * Tel: +44 1763 262222
46 *
47 ****************************************************************************
48 * !BEGIN MANUAL CODE! (HEADERS)
49 *
50 * COMPONENT: (Insert Component Name)
51 * MODULE: $RCSfile: rsvas_struct.h,v $
52 * VERSION: $Revision: 1.0 $
53 * DATED: $Date: 2009/06/12 14:22:29 $
54 * AUTHOR:
55 * DESCRIPTION: Check Header for full description
56 *
57 ****************************************************************************/
58/* !END MANUAL CODE! (HEADERS) */
59/*****************************************************************************
60 * removed!
61 *
62 * removed!
63 * removed!
64 * removed!
65 * removed!
66 *
67 * removed!
68 * removed!
69 * removed!
70 * removed!
71 *
72 * removed!
73 * removed!
74 * removed!
75 *
76 * removed!
77 * removed!
78 * removed!
79 *
80 * removed!
81 * removed!
82 * removed!
83 *
84 * removed!
85 * removed!
86 *
87 * removed!
88 * removed!
89 *
90 * removed!
91 * removed!
92 *
93 * removed!
94 * removed!
95 * removed!
96 *
97 * removed!
98 * removed!
99 * removed!
100 *
101 * removed!
102 * removed!
103 *
104 * removed!
105 * removed!
106 * removed!
107 *
108 * removed!
109 * removed!
110 * removed!
111 *
112 * removed!
113 * removed!
114 * removed!
115 *
116 * removed!
117 * removed!
118 * removed!
119 *
120 * removed!
121 * removed!
122 * removed!
123 *
124 * removed!
125 * removed!
126 * removed!
127 *
128 * removed!
129 * removed!
130 * removed!
131 *
132 * removed!
133 * removed!
134 * removed!
135 * removed!
136 * removed!
137 * removed!
138 * removed!
139 *
140 * removed!
141 * removed!
142 * removed!
143 *
144 * removed!
145 * removed!
146 * removed!
147 *
148 * removed!
149 * removed!
150 * removed!
151 *
152 * removed!
153 * removed!
154 * removed!
155 *
156 * removed!
157 * removed!
158 * removed!
159 *
160 * removed!
161 * removed!
162 * removed!
163 *
164 * removed!
165 * removed!
166 * removed!
167 *
168 * removed!
169 * removed!
170 * removed!
171 *
172 * removed!
173 * removed!
174 * removed!
175 *
176 * removed!
177 * removed!
178 * removed!
179 *
180 * removed!
181 * removed!
182 * removed!
183 *
184 * removed!
185 * removed!
186 * removed!
187 ****************************************************************************/
188
189#if !defined(_RSVAS_STRUCT_H)
190#define _RSVAS_STRUCT_H
191
192#include "rsvas_enum.h"
193#include "kal_public_api.h"
194#include "kal_general_types.h"
195#include "l3_inc_enums.h"
196#include "c2k_rsva_struct.h"
197
198#define RSVA_MAX_USER_CALLER 32
199
200extern kal_uint32 rsva_ack_bitmask;
201extern kal_eventgrpid rsva_evg;
202
203extern kal_uint32 rsva_evg_get_available_ack_slot(void);
204extern void rsva_evg_ack_slot(kal_uint32 ack);
205extern void rsva_evg_free_slot(kal_uint32 ack);
206
207
208
209#ifdef UNIT_TEST
210typedef struct {
211 LOCAL_PARA_HDR
212 kal_bool result;
213} rsvas_ut_result_ind_struct;
214
215#if defined(__ETWS_SUPPORT__) || defined(__LTE_RAT__)
216typedef struct {
217 LOCAL_PARA_HDR
218 kal_bool success;
219} rsvas_as_update_etws_priority_cnf_struct;
220#endif /* __ETWS_SUPPORT__ || __LTE_RAT__ */
221#endif /* UNIT_TEST */
222
223typedef struct {
224 LOCAL_PARA_HDR
225 rsvas_id_enum id;
226 kal_uint32 event_ack; /* bitmap for event group*/
227} rsvas_service_common_struct;
228
229#if defined(__GSM_RAT__)
230typedef struct {
231 LOCAL_PARA_HDR
232 kal_uint8 peer_service_priority;
233} rsvas_gas_suspend_service_req_struct;
234#endif /* __GSM_RAT__ */
235
236#if defined(__UMTS_RAT__)
237typedef struct {
238 LOCAL_PARA_HDR
239 kal_uint8 peer_service_priority;
240} rsvas_uas_suspend_service_req_struct;
241
242typedef struct {
243 LOCAL_PARA_HDR
244 kal_uint8 peer_service_priority;
245} rsvas_ul2_suspend_service_req_struct;
246
247typedef struct {
248 LOCAL_PARA_HDR
249 kal_uint8 peer_service_priority;
250} rsvas_ul2d_suspend_service_req_struct;
251#endif /* __UMTS_RAT__ */
252
253#if defined(__LTE_RAT__)
254typedef struct {
255 LOCAL_PARA_HDR
256 kal_uint8 peer_service_priority;
257} rsvas_eas_suspend_service_req_struct;
258
259typedef struct {
260 LOCAL_PARA_HDR
261 rsvas_sim_enum target_sim;
262 kal_uint8 peer_service_priority;
263} rsvas_el2hportal_suspend_service_req_struct;
264
265typedef struct {
266 LOCAL_PARA_HDR
267 rsvas_sim_enum target_sim;
268 kal_uint8 peer_service_priority;
269} rsvas_emacdlportal_suspend_service_req_struct;
270
271typedef struct {
272 LOCAL_PARA_HDR
273 rsvas_sim_enum target_sim;
274 kal_uint8 peer_service_priority;
275} rsvas_el2portal_suspend_service_req_struct;
276
277typedef struct {
278 LOCAL_PARA_HDR
279 kal_bool enter_meta_mode;
280} rsvas_el1_suspend_req_struct;
281
282
283#endif /* __LTE_RAT__ */
284
285#if defined(__NR_RAT__)
286typedef struct {
287 LOCAL_PARA_HDR
288 kal_uint8 peer_service_priority;
289} rsvas_nrrc_suspend_service_req_struct;
290#endif /* __NR_RAT__ */
291
292typedef struct {
293 LOCAL_PARA_HDR
294 kal_uint8 peer_service_priority;
295 rsvas_sim_enum target_sim;
296} rsvas_las_suspend_service_req_struct;
297
298typedef struct {
299 LOCAL_PARA_HDR
300 rsvas_sim_enum target_sim;
301} rsvas_las_suspend_service_cnf_struct;
302
303typedef struct {
304 LOCAL_PARA_HDR
305 rsvas_sim_enum target_sim;
306} rsvas_las_resume_service_req_struct;
307
308typedef struct {
309 LOCAL_PARA_HDR
310 rsvas_sim_enum target_sim;
311} rsvas_las_resume_service_cnf_struct;
312
313#if defined(__LTE_RAT__)
314typedef struct {
315 LOCAL_PARA_HDR
316 rsvas_gemini_gap_status_enum gemini_gap_status;
317} rsvas_eas_resume_service_req_struct;
318#endif
319
320#if defined(__NR_RAT__)
321typedef struct {
322 LOCAL_PARA_HDR
323 rsvas_gemini_gap_status_enum gemini_gap_status;
324} rsvas_nrrc_resume_service_req_struct;
325#endif
326
327
328#if defined(__GSM_RAT__)
329typedef struct {
330 LOCAL_PARA_HDR
331 kal_uint8 peer_service_priority;
332 rsvas_abort_action_enum action;
333} rsvas_gas_abort_service_req_struct;
334#endif /* __GSM_RAT__ */
335
336#if defined(__UMTS_RAT__)
337typedef struct {
338 LOCAL_PARA_HDR
339 kal_uint8 peer_service_priority;
340 rsvas_abort_action_enum action;
341} rsvas_uas_abort_service_req_struct;
342#endif /* __UMTS_RAT__ */
343
344#if defined(__LTE_RAT__)
345typedef struct {
346 LOCAL_PARA_HDR
347 kal_uint8 peer_service_priority;
348 rsvas_abort_action_enum action;
349} rsvas_eas_abort_service_req_struct;
350#endif /* __LTE_RAT__ */
351
352#if defined(__NR_RAT__)
353typedef struct {
354 LOCAL_PARA_HDR
355 kal_uint8 peer_service_priority;
356 rsvas_abort_action_enum action;
357} rsvas_nrrc_abort_service_req_struct;
358#endif /* __NR_RAT__ */
359
360#if defined(__GSM_RAT__)
361typedef struct {
362 LOCAL_PARA_HDR
363 kal_uint8 peer_service_priority;
364 rsvas_sim_enum sim_in_transfer;
365} rsvas_gas_virtual_suspend_service_req_struct;
366#endif /* __GSM_RAT__ */
367
368#if defined(__UMTS_RAT__)
369typedef struct {
370 LOCAL_PARA_HDR
371 kal_uint8 peer_service_priority;
372} rsvas_uas_virtual_suspend_service_req_struct;
373#endif /* __UMTS_RAT__ */
374
375#if defined(__LTE_RAT__)
376typedef struct {
377 LOCAL_PARA_HDR
378 kal_uint8 peer_service_priority;
379} rsvas_eas_virtual_suspend_service_req_struct;
380#endif /* __LTE_RAT__ */
381
382#if defined(__NR_RAT__)
383typedef struct {
384 LOCAL_PARA_HDR
385 kal_uint8 peer_service_priority;
386} rsvas_nrrc_virtual_suspend_service_req_struct;
387#endif /* __NR_RAT__ */
388
389typedef struct {
390 LOCAL_PARA_HDR
391 kal_uint8 peer_service_priority;
392 rsvas_sim_enum target_sim;
393} rsvas_las_virtual_suspend_service_req_struct;
394
395typedef struct {
396 LOCAL_PARA_HDR
397 rsvas_sim_enum target_sim;
398} rsvas_las_virtual_suspend_service_cnf_struct;
399
400typedef struct {
401 LOCAL_PARA_HDR
402 rsvas_sim_enum target_sim;
403} rsvas_las_virtual_resume_service_req_struct;
404
405typedef struct {
406 LOCAL_PARA_HDR
407 rsvas_id_enum id;
408 kal_bool is_call_prefer;
409} rsvas_as_preference_mode_req_struct;
410
411
412typedef struct {
413 LOCAL_PARA_HDR
414 rsvas_sim_enum target_sim;
415} rsvas_las_virtual_resume_service_cnf_struct;
416
417#if defined(__LTE_RAT__)
418typedef struct {
419 LOCAL_PARA_HDR
420 rsvas_gemini_gap_status_enum gemini_gap_status;
421} rsvas_eas_virtual_resume_service_req_struct;
422#endif
423
424#if defined(__NR_RAT__)
425typedef struct {
426 LOCAL_PARA_HDR
427 rsvas_gemini_gap_status_enum gemini_gap_status;
428} rsvas_nrrc_virtual_resume_service_req_struct;
429#endif
430
431
432/* Dennis Weng 2011/05/26: move to as2l4c_struct.h */
433//typedef struct {
434// LOCAL_PARA_HDR
435// kal_bool is_turn_on;
436//} rsvas_monitor_peer_pch_switch_req_struct;
437
438#if defined(__ETWS_SUPPORT__) || defined(__LTE_RAT__)
439typedef struct {
440 LOCAL_PARA_HDR
441 rsvas_id_enum id;
442 kal_uint32 event_ack; /* bitmap for event group*/
443 kal_bool is_protect_req;
444} rsvas_as_update_etws_priority_req_struct;
445#endif /* __ETWS_SUPPORT__ || __LTE_RAT__ */
446
447typedef struct {
448 LOCAL_PARA_HDR
449 rat_enum rat_mode;
450} rac_rsvas_set_rat_mode_req_struct;
451
452
453#if defined(__GSM_RAT__)
454typedef struct {
455 LOCAL_PARA_HDR
456 rsvas_sim_enum sim_in_transfer;
457 rsvas_virtual_connect_request_type_enum request_source;
458} rsvas_gas_virtual_connected_suspend_req_struct;
459
460typedef struct {
461 LOCAL_PARA_HDR
462 kal_bool is_abort;
463 rsvas_virtual_connected_resume_action_enum resume_action;
464} rsvas_gas_virtual_connected_resume_req_struct;
465#endif /* __GSM_RAT__ */
466
467#if defined(__UMTS_RAT__)
468typedef struct {
469 LOCAL_PARA_HDR
470 rsvas_sim_enum sim_in_transfer;
471 rsvas_virtual_connect_request_type_enum request_source;
472} rsvas_uas_virtual_connected_suspend_req_struct;
473
474typedef struct {
475 LOCAL_PARA_HDR
476 kal_bool is_abort;
477 rsvas_virtual_connected_resume_action_enum resume_action;
478} rsvas_uas_virtual_connected_resume_req_struct;
479#endif /* __UMTS_RAT__ */
480
481#if defined(__LTE_RAT__)
482typedef struct {
483 LOCAL_PARA_HDR
484 rsvas_sim_enum sim_in_transfer;
485 rsvas_virtual_connect_request_type_enum request_source;
486} rsvas_eas_virtual_connected_suspend_req_struct;
487
488typedef struct {
489 LOCAL_PARA_HDR
490 kal_bool is_abort;
491 rsvas_virtual_connected_resume_action_enum resume_action;
492} rsvas_eas_virtual_connected_resume_req_struct;
493#endif /* __LTE_RAT__ */
494
495#if defined(__NR_RAT__)
496typedef struct {
497 LOCAL_PARA_HDR
498 rsvas_sim_enum sim_in_transfer;
499 rsvas_virtual_connect_request_type_enum request_source;
500} rsvas_nrrc_virtual_connected_suspend_req_struct;
501
502typedef struct {
503 LOCAL_PARA_HDR
504 kal_bool is_abort;
505 rsvas_virtual_connected_resume_action_enum resume_action;
506} rsvas_nrrc_virtual_connected_resume_req_struct;
507#endif /* __NR_RAT__ */
508
509#if defined(__LTE_RAT__)
510typedef struct {
511 LOCAL_PARA_HDR
512 rsvas_gemini_gap_status_enum gemini_gap_status;
513} rsvas_eas_virtual_mode_update_req_struct;
514#endif
515
516#if defined(__NR_RAT__)
517typedef struct {
518 LOCAL_PARA_HDR
519 rsvas_gemini_gap_status_enum gemini_gap_status;
520} rsvas_nrrc_virtual_mode_update_req_struct;
521
522typedef struct {
523 LOCAL_PARA_HDR
524 kal_bool is_enter_dsda;
525} rsvas_nrrc_gemini_mode_update_req_struct;
526
527typedef struct {
528 LOCAL_PARA_HDR
529} rsvas_nrrc_gemini_mode_update_cnf_struct;
530#endif
531
532#endif /* _RSVAS_STRUCT_H */
533