blob: 3030447d16f5d1bd151bf5d0276366b8f9cbb0aa [file] [log] [blame]
yu.dongc33b3072024-08-21 23:14:49 -07001#ifndef _MLL1_COMMON_H
2#define _MLL1_COMMON_H
3
4#include "irat_common_enums_public.h"
5#include "global_type.h"
6
7/* [20150309 Ali] for MD1<->MD3 integration, move to mcu/interface/sap/cross_core/irat_common_enum_public.h
8typedef enum
9{
10 LL1_MODE_STATUS_INIT = 0,
11 LL1_GSM_MODE_BEGIN,
12 LL1_GSM_NULL_MODE,
13 LL1_GSM_IDLE_MODE,
14 LL1_GSM_SDCCH_MODE,
15 LL1_GSM_DCH_MODE,
16 LL1_GSM_PKT_MODE,
17 LL1_GSM_MODE_END,
18 LL1_FDD_MODE_BEGIN,
19 LL1_FDD_NULL_MODE,
20 LL1_FDD_IDLE_MODE,
21 LL1_FDD_EFACH_DRX_MODE,
22 LL1_FDD_FACH_MODE,
23 LL1_FDD_DCH_MODE,
24 LL1_FDD_MODE_END,
25 LL1_TDD_MODE_BEGIN,
26 LL1_TDD_NULL_MODE,
27 LL1_TDD_IDLE_MODE,
28 LL1_TDD_FACH_MODE,
29 LL1_TDD_DCH_MODE,
30 LL1_TDD_HSPA_MODE,
31 LL1_TDD_MODE_END,
32 LL1_LTE_MODE_BEGIN,
33 LL1_LTE_NULL_MODE,
34 LL1_LTE_IDLE_MODE,
35 LL1_LTE_CONNECT_MODE,
36 LL1_LTE_CONNECT_DRX_MODE,
37 LL1_LTE_MODE_END
38} ll1_active_rat_mode_status_enum;
39*/
40// [20150331 Ali] Gemini_L_W
41/*****************************************************************************
42* ENUMERATION
43* mll1_current_cntx_enum
44*
45* DESCRIPTIONS
46* Used to identify the current used cntx (MLL1_1 or MLL1_2), for Gemini L+W project
47* for GEMINI_PLUS_WCDMA >= 3 : MLL1_3, for GEMINI_PLUS_WCDMA >= 4: MLL1_4.
48*****************************************************************************/
49typedef enum
50{
51 MLL1_1 = 0,
52 MLL1_2 = 1,
53 MLL1_3 = 2,
54 MLL1_4 = 3
55} mll1_current_cntx_enum;
56
57/*****************************************************************************
58* ENUMERATION
59* mll1_tick_count_type_enum
60*
61* DESCRIPTIONS
62* Used to identify the tick count of certain type
63*****************************************************************************/
64typedef enum
65{
66 MLL1_TICK_COUNT_TYPE_RANK = 0,
67 MLL1_TICK_COUNT_TYPE_DETC = 1,
68 MLL1_TICK_COUNT_TYPE_PRIO = 3
69} mll1_tick_count_type_enum;
70
71/*****************************************************************************
72* STRUCT
73* mll1_gap_fsm_para_struct
74*
75* DESCRIPTIONS
76* xL1-LL1 pass information structure.
77*
78* PARAMETERS
79* rat - always be MLL1_GERAN_RAT
80* gap_service_enable - is gsm request gap service
81* tick_bmp - bit 0 : ranking search tick, bit 1 : priority search tick
82* carrier_num - HPS on, Meas off, is equal to the number of higher priority search frequencies
83* HPS on, Meas on, No meaning
84* HPS off, Meas on, is equal to the total number of measurement frequencies
85* carrier_num_rpg - frequency number of RPG (IncMon)
86* rach_rpt_carrier_num- In idle/eFACH state, UMTS FDD may request to meas. special freqs for rach report
87* t_hps - high priority period = 25/60/75 (unit : s)
88* is_period_reset_bmp - bit 0 for rank period, 1 means to reset
89* - bit 1 for prio period, 0 means not to reset
90* - when freq. num is same as before, ll1 will check this flag to reset period or not
91* auto_success - KAL_TRUE - xL1 will not use RF from the starting time of LL1_xL1_AUTONOMOIS_GAP_IND
92* KAL_FALSE - xL1 may use RF after starting time of LL1_xL1_AUTONOMOIS_GAP_IND.
93* valid_period - The length of autonomous gap allowed in GL1. The value is valid when GL1 is active rat and success = KAL_TRUE. Unit : ebit
94* NOTE
95*****************************************************************************/
96typedef struct
97{
98 kal_int32 rat;
99 kal_bool gap_service_enable;
100 kal_uint8 tick_bmp;
101 kal_uint8 carrier_num;
102 kal_uint8 carrier_num_rpg;
103 kal_uint8 rach_rpt_carrier_num;
104 kal_uint16 t_hps;
105 kal_int32 is_period_reset_bmp;
106 kal_bool auto_success;
107 kal_int64 valid_period;
108}mll1_gap_fsm_para_struct;
109
110#if 0
111/* under construction !*/
112/* under construction !*/
113/* under construction !*/
114/* under construction !*/
115/* under construction !*/
116/* under construction !*/
117/* under construction !*/
118/* under construction !*/
119/* under construction !*/
120/* under construction !*/
121/* under construction !*/
122/* under construction !*/
123/* under construction !*/
124/* under construction !*/
125/* under construction !*/
126/* under construction !*/
127/* under construction !*/
128/* under construction !*/
129/* under construction !*/
130/* under construction !*/
131/* under construction !*/
132/* under construction !*/
133/* under construction !*/
134/* under construction !*/
135/* under construction !*/
136/* under construction !*/
137/* under construction !*/
138/* under construction !*/
139/* under construction !*/
140/* under construction !*/
141/* under construction !*/
142/* under construction !*/
143/* under construction !*/
144/* under construction !*/
145/* under construction !*/
146/* under construction !*/
147/* under construction !*/
148/* under construction !*/
149/* under construction !*/
150/* under construction !*/
151/* under construction !*/
152/* under construction !*/
153/* under construction !*/
154/* under construction !*/
155/* under construction !*/
156/* under construction !*/
157/* under construction !*/
158/* under construction !*/
159/* under construction !*/
160/* under construction !*/
161/* under construction !*/
162/* under construction !*/
163/* under construction !*/
164/* under construction !*/
165/* under construction !*/
166/* under construction !*/
167/* under construction !*/
168/* under construction !*/
169/* under construction !*/
170/* under construction !*/
171/* under construction !*/
172/* under construction !*/
173/* under construction !*/
174/* under construction !*/
175/* under construction !*/
176/* under construction !*/
177/* under construction !*/
178/* under construction !*/
179/* under construction !*/
180/* under construction !*/
181/* under construction !*/
182/* under construction !*/
183/* under construction !*/
184/* under construction !*/
185/* under construction !*/
186/* under construction !*/
187/* under construction !*/
188/* under construction !*/
189/* under construction !*/
190/* under construction !*/
191/* under construction !*/
192/* under construction !*/
193/* under construction !*/
194/* under construction !*/
195/* under construction !*/
196/* under construction !*/
197/* under construction !*/
198#endif /*__GSM_RAT__*/
199#if 0
200/* under construction !*/
201/* under construction !*/
202/* under construction !*/
203/* under construction !*/
204/* under construction !*/
205/* under construction !*/
206/* under construction !*/
207/* under construction !*/
208/* under construction !*/
209/* under construction !*/
210/* under construction !*/
211/* under construction !*/
212/* under construction !*/
213/* under construction !*/
214/* under construction !*/
215/* under construction !*/
216/* under construction !*/
217/* under construction !*/
218/* under construction !*/
219/* under construction !*/
220/* under construction !*/
221/* under construction !*/
222/* under construction !*/
223/* under construction !*/
224/* under construction !*/
225/* under construction !*/
226/* under construction !*/
227/* under construction !*/
228/* under construction !*/
229/* under construction !*/
230/* under construction !*/
231/* under construction !*/
232/* under construction !*/
233/* under construction !*/
234/* under construction !*/
235/* under construction !*/
236/* under construction !*/
237/* under construction !*/
238/* under construction !*/
239/* under construction !*/
240/* under construction !*/
241/* under construction !*/
242/* under construction !*/
243/* under construction !*/
244/* under construction !*/
245/* under construction !*/
246/* under construction !*/
247/* under construction !*/
248/* under construction !*/
249/* under construction !*/
250/* under construction !*/
251/* under construction !*/
252/* under construction !*/
253/* under construction !*/
254/* under construction !*/
255/* under construction !*/
256/* under construction !*/
257/* under construction !*/
258/* under construction !*/
259/* under construction !*/
260/* under construction !*/
261/* under construction !*/
262/* under construction !*/
263/* under construction !*/
264/* under construction !*/
265/* under construction !*/
266/* under construction !*/
267/* under construction !*/
268/* under construction !*/
269/* under construction !*/
270/* under construction !*/
271/* under construction !*/
272/* under construction !*/
273/* under construction !*/
274/* under construction !*/
275/* under construction !*/
276/* under construction !*/
277/* under construction !*/
278/* under construction !*/
279/* under construction !*/
280/* under construction !*/
281/* under construction !*/
282/* under construction !*/
283/* under construction !*/
284/* under construction !*/
285/* under construction !*/
286/* under construction !*/
287#endif /*__UMTS_FDD_MODE__*/
288
289#if 0
290/* under construction !*/
291/* under construction !*/
292/* under construction !*/
293/* under construction !*/
294/* under construction !*/
295/* under construction !*/
296/* under construction !*/
297/* under construction !*/
298/* under construction !*/
299/* under construction !*/
300/* under construction !*/
301/* under construction !*/
302/* under construction !*/
303/* under construction !*/
304/* under construction !*/
305/* under construction !*/
306/* under construction !*/
307/* under construction !*/
308/* under construction !*/
309/* under construction !*/
310/* under construction !*/
311/* under construction !*/
312/* under construction !*/
313/* under construction !*/
314/* under construction !*/
315/* under construction !*/
316/* under construction !*/
317/* under construction !*/
318/* under construction !*/
319/* under construction !*/
320/* under construction !*/
321/* under construction !*/
322/* under construction !*/
323/* under construction !*/
324/* under construction !*/
325/* under construction !*/
326/* under construction !*/
327/* under construction !*/
328/* under construction !*/
329/* under construction !*/
330/* under construction !*/
331/* under construction !*/
332/* under construction !*/
333/* under construction !*/
334/* under construction !*/
335/* under construction !*/
336/* under construction !*/
337/* under construction !*/
338/* under construction !*/
339/* under construction !*/
340/* under construction !*/
341/* under construction !*/
342/* under construction !*/
343/* under construction !*/
344/* under construction !*/
345/* under construction !*/
346/* under construction !*/
347/* under construction !*/
348/* under construction !*/
349/* under construction !*/
350/* under construction !*/
351/* under construction !*/
352/* under construction !*/
353/* under construction !*/
354/* under construction !*/
355/* under construction !*/
356/* under construction !*/
357/* under construction !*/
358/* under construction !*/
359/* under construction !*/
360/* under construction !*/
361/* under construction !*/
362/* under construction !*/
363/* under construction !*/
364/* under construction !*/
365/* under construction !*/
366/* under construction !*/
367/* under construction !*/
368/* under construction !*/
369/* under construction !*/
370/* under construction !*/
371/* under construction !*/
372/* under construction !*/
373/* under construction !*/
374/* under construction !*/
375/* under construction !*/
376/* under construction !*/
377#endif /*__UMTS_TDD128_MODE__*/
378#if 0
379/* under construction !*/
380/* under construction !*/
381/* under construction !*/
382/* under construction !*/
383/* under construction !*/
384/* under construction !*/
385/* under construction !*/
386/* under construction !*/
387/* under construction !*/
388/* under construction !*/
389/* under construction !*/
390/* under construction !*/
391/* under construction !*/
392/* under construction !*/
393/* under construction !*/
394/* under construction !*/
395/* under construction !*/
396/* under construction !*/
397/* under construction !*/
398/* under construction !*/
399/* under construction !*/
400/* under construction !*/
401/* under construction !*/
402/* under construction !*/
403/* under construction !*/
404/* under construction !*/
405/* under construction !*/
406/* under construction !*/
407/* under construction !*/
408/* under construction !*/
409/* under construction !*/
410/* under construction !*/
411/* under construction !*/
412/* under construction !*/
413/* under construction !*/
414/* under construction !*/
415/* under construction !*/
416/* under construction !*/
417/* under construction !*/
418/* under construction !*/
419/* under construction !*/
420/* under construction !*/
421/* under construction !*/
422/* under construction !*/
423/* under construction !*/
424/* under construction !*/
425/* under construction !*/
426/* under construction !*/
427/* under construction !*/
428/* under construction !*/
429/* under construction !*/
430/* under construction !*/
431/* under construction !*/
432/* under construction !*/
433/* under construction !*/
434/* under construction !*/
435/* under construction !*/
436/* under construction !*/
437/* under construction !*/
438/* under construction !*/
439/* under construction !*/
440/* under construction !*/
441/* under construction !*/
442/* under construction !*/
443/* under construction !*/
444/* under construction !*/
445/* under construction !*/
446/* under construction !*/
447/* under construction !*/
448/* under construction !*/
449/* under construction !*/
450/* under construction !*/
451/* under construction !*/
452/* under construction !*/
453/* under construction !*/
454/* under construction !*/
455/* under construction !*/
456/* under construction !*/
457/* under construction !*/
458/* under construction !*/
459/* under construction !*/
460/* under construction !*/
461/* under construction !*/
462/* under construction !*/
463/* under construction !*/
464/* under construction !*/
465/* under construction !*/
466/* under construction !*/
467#endif /*__LTE_RAT__*/
468
469#endif /*_MLL1_COMMON_H*/
470