FreeCalypso > hg > leo2moko-debug
comparison g23m/condat/com/include/em.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : GSM (6301) | |
4 | Modul : | |
5 +----------------------------------------------------------------------------- | |
6 | Copyright 2002 Texas Instruments Berlin, AG | |
7 | All rights reserved. | |
8 | | |
9 | This file is confidential and a trade secret of Texas | |
10 | Instruments Berlin, AG | |
11 | The receipt of or possession of this file does not convey | |
12 | any rights to reproduce or disclose its contents or to | |
13 | manufacture, use, or sell anything it may describe, in | |
14 | whole, or in part, without the specific written consent of | |
15 | Texas Instruments Berlin, AG. | |
16 +----------------------------------------------------------------------------- | |
17 | Purpose : Types definitions for the engineering mode driver | |
18 | . | |
19 +----------------------------------------------------------------------------- | |
20 */ | |
21 | |
22 #ifndef EM_H | |
23 #define EM_H | |
24 | |
25 | |
26 /* | |
27 * Return Values | |
28 */ | |
29 #define EM_INVALID_CLASS 10 | |
30 #define EM_INVALID_SUBCLASS 11 | |
31 #define EM_INVALID_TYPE 12 | |
32 #define EM_INVALID_ACCESS 13 | |
33 #define EM_NO_MORE_DATA 14 | |
34 #define EM_DATA_NOT_AVAIL 15 | |
35 | |
36 #define MAX_EM_LENGTH 80 | |
37 | |
38 /* | |
39 * Data Types | |
40 */ | |
41 typedef struct | |
42 { | |
43 UBYTE em_class; | |
44 UBYTE em_subclass; | |
45 UBYTE em_type; | |
46 UBYTE em_length; | |
47 UBYTE em_parameter [MAX_EM_LENGTH]; | |
48 } em_data_type; | |
49 | |
50 /* | |
51 * EM classes | |
52 */ | |
53 | |
54 #define EM_CLASS_EVENT_TRACE 1 | |
55 #define EM_CLASS_COUNTER 2 | |
56 #define EM_CLASS_INFRA_DATA 3 | |
57 #define EM_CLASS_MS_DATA 4 | |
58 | |
59 /* | |
60 * EM Subclasses Event Tracing / Counter | |
61 */ | |
62 #define EM_SUBCLASS_LAYER_1 1 | |
63 #define EM_SUBCLASS_DL 2 | |
64 #define EM_SUBCLASS_RR 3 | |
65 #define EM_SUBCLASS_MM 4 | |
66 #define EM_SUBCLASS_CC 5 | |
67 #define EM_SUBCLASS_SS 6 | |
68 #define EM_SUBCLASS_SMS 7 | |
69 #define EM_SUBCLASS_SIM 8 | |
70 | |
71 | |
72 /* | |
73 * EM Subclasses Infrastructure data | |
74 */ | |
75 #define EM_SUBCLASS_SC_INFO 9 | |
76 #define EM_SUBCLASS_NC_INFO 10 | |
77 #define EM_SUBCLASS_LUP_AND_PAG 12 | |
78 #define EM_SUBCLASS_PLMN_PARA 13 | |
79 #define EM_SUBCLASS_CIPH_HOP_DTX 14 | |
80 | |
81 /* | |
82 * EM Subclasses Mobile Data | |
83 */ | |
84 #define EM_SUBCLASS_POWER 15 | |
85 #define EM_SUBCLASS_IDENTITY 16 | |
86 #define EM_SUBCLASS_VERSION 17 | |
87 | |
88 /* | |
89 * EM types | |
90 */ | |
91 | |
92 typedef struct | |
93 { | |
94 USHORT arfcn; /* channel number */ | |
95 SHORT c1; /* C1 Path Loss Criterion */ | |
96 SHORT c2; /* C2 Reselection Criterion */ | |
97 UBYTE rxlev; /* fieldstrength */ | |
98 UBYTE bsic; /* BSIC */ | |
99 UBYTE mcc[3]; /* Mobile Country Code */ | |
100 UBYTE mnc[3]; /* Mobile Network Code */ | |
101 USHORT lac; /* Location Area Code */ | |
102 USHORT cell_id; /* cell identifier */ | |
103 UBYTE cba; /* Cell barred access */ | |
104 UBYTE cbq; /* Cell barred qualify */ | |
105 UBYTE til_state; /* State of cell in TIL/ALR */ | |
106 UBYTE sync_cnt; /* Pending L1 cells sync */ | |
107 UBYTE bcch_cnt; /* Pending L1 cells bcch read */ | |
108 UBYTE rxlev_f; /* RSSI full in dedicated mode */ | |
109 UBYTE rxlev_s; /* RSSI sub in dedicated mode */ | |
110 UBYTE rxqual_f; /* Qual full in dedicated mode */ | |
111 UBYTE rxqual_s; /* Qual sub in dedicated mode */ | |
112 } T_EM_NC_DATA; | |
113 | |
114 | |
115 /* | |
116 * internal prototypes for em driver | |
117 */ | |
118 EXTERN void em_trace_single (UBYTE class, UBYTE subclass, UBYTE type); | |
119 EXTERN void em_trace_ubyte (UBYTE class, UBYTE subclass, UBYTE type, UBYTE value); | |
120 EXTERN void em_trace_ushort (UBYTE class, UBYTE subclass, UBYTE type, USHORT value); | |
121 EXTERN void em_trace_array (UBYTE class, UBYTE subclass, UBYTE type, UBYTE * value, UBYTE len); | |
122 | |
123 EXTERN UBYTE * em_get_sys_info (UBYTE sys_info_type); | |
124 EXTERN UBYTE em_get_nc_data (T_EM_NC_DATA * em_nc_data, UBYTE index); | |
125 EXTERN UBYTE em_get_network_meas (UBYTE * chan_list); | |
126 EXTERN UBYTE em_get_bcch_chan_list (em_data_type * out_em_data); | |
127 /* | |
128 * Access Functions | |
129 */ | |
130 #if defined (EM_TRACE) | |
131 | |
132 #define EM_EV_L1_TRACE(a) em_trace_single(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_LAYER_1,a); | |
133 #define EM_EV_L1_TRACE_UBYTE(a,b) em_trace_ubyte(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_LAYER_1,a,b); | |
134 #define EM_EV_L1_TRACE_USHORT(a,b) em_trace_ushort(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_LAYER_1,a,b); | |
135 #define EM_EV_L1_TRACE_ARRAY(a,b,c) em_trace_array(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_LAYER_1,a,b,c); | |
136 | |
137 #define EM_EV_DL_TRACE(a) em_trace_single(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_DL,a); | |
138 #define EM_EV_DL_TRACE_UBYTE(a,b) em_trace_ubyte(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_DL,a,b); | |
139 #define EM_EV_DL_TRACE_USHORT(a,b) em_trace_ushort(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_DL,a,b); | |
140 #define EM_EV_DL_TRACE_ARRAY(a,b,c) em_trace_array(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_DL,a,b,c); | |
141 | |
142 #define EM_EV_RR_TRACE(a) em_trace_single(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_RR,a); | |
143 #define EM_EV_RR_TRACE_UBYTE(a,b) em_trace_ubyte(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_RR,a,b); | |
144 #define EM_EV_RR_TRACE_USHORT(a,b) em_trace_ushort(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_RR,a,b); | |
145 #define EM_EV_RR_TRACE_ARRAY(a,b,c) em_trace_array(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_RR,a,b,c); | |
146 | |
147 #define EM_EV_MM_TRACE(a) em_trace_single(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_MM,a); | |
148 #define EM_EV_MM_TRACE_UBYTE(a,b) em_trace_ubyte(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_MM,a,b); | |
149 #define EM_EV_MM_TRACE_USHORT(a,b) em_trace_ushort(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_MM,a,b); | |
150 #define EM_EV_MM_TRACE_ARRAY(a,b,c) em_trace_array(EM_CLASS_EVENT_TRACE,EM_SUBCLASS_MM,a,b,c); | |
151 | |
152 #else | |
153 | |
154 #define EM_EV_L1_TRACE(a) | |
155 #define EM_EV_L1_TRACE_UBYTE(a,b) | |
156 #define EM_EV_L1_TRACE_USHORT(a,b) | |
157 #define EM_EV_L1_TRACE_ARRAY(a,b,c) | |
158 | |
159 #define EM_EV_DL_TRACE(a) | |
160 #define EM_EV_DL_TRACE_UBYTE(a,b) | |
161 #define EM_EV_DL_TRACE_USHORT(a,b) | |
162 #define EM_EV_DL_TRACE_ARRAY(a,b,c) | |
163 | |
164 #define EM_EV_RR_TRACE(a) | |
165 #define EM_EV_RR_TRACE_UBYTE(a,b) | |
166 #define EM_EV_RR_TRACE_USHORT(a,b) | |
167 #define EM_EV_RR_TRACE_ARRAY(a,b,c) | |
168 | |
169 #define EM_EV_MM_TRACE(a) | |
170 #define EM_EV_MM_TRACE_UBYTE(a,b) | |
171 #define EM_EV_MM_TRACE_USHORT(a,b) | |
172 #define EM_EV_MM_TRACE_ARRAY(a,b,c) | |
173 | |
174 #endif | |
175 | |
176 /* | |
177 * Event trace, layer 1 | |
178 */ | |
179 #define EM_EV_L1_POWER_MEAS_REQ 1 | |
180 #define EM_EV_L1_RX_MEAS_REQ 2 | |
181 #define EM_EV_L1_RX_MEAS_CNF 3 | |
182 #define EM_EV_L1_POWER_MEAS_CNF 4 | |
183 #define EM_EV_L1_BSIC_REQ 5 | |
184 #define EM_EV_L1_BSIC_AVAIL 6 | |
185 #define EM_EV_L1_BSIC_NOT_AVAIL 7 | |
186 #define EM_EV_L1_BCCH_READ_ERR 8 | |
187 #define EM_EV_L1_CONFIG_CLASSMARK 9 | |
188 #define EM_EV_L1_CONFIG_IDLE_MODE 10 | |
189 #define EM_EV_L1_CONFIG_CBCH 11 | |
190 #define EM_EV_L1_CONFIG_NCELL 12 | |
191 #define EM_EV_L1_CHANGE_EXT_PAG 13 | |
192 #define EM_EV_L1_CHANGE_REORG_PAG 14 | |
193 #define EM_EV_L1_CHANGE_NORM_PAG 15 | |
194 #define EM_EV_L1_CHANGE_IDLE_BCCH 16 | |
195 #define EM_EV_L1_DOWNLINK_ERROR 17 | |
196 #define EM_EV_L1_PAGING_DETECTED 18 | |
197 #define EM_EV_L1_READ_NCELL_BSIC 19 | |
198 #define EM_EV_L1_NCELL_BSIC_AVAIL 20 | |
199 #define EM_EV_L1_NCELL_BSIC_NO_AVAIL 21 | |
200 #define EM_EV_L1_READ_NCELL_SB 22 | |
201 #define EM_EV_L1_NCELL_SB_AVAIL 23 | |
202 #define EM_EV_L1_NCELL_SB_NO_AVAIL 24 | |
203 #define EM_EV_L1_READ_NCELL_BCCH 25 | |
204 #define EM_EV_L1_NCELL_BCCH_AVAIL 26 | |
205 #define EM_EV_L1_NCELL_BCCH_NO_AVAIL 27 | |
206 #define EM_EV_L1_CONFIG_CELL_RESEL 28 | |
207 #define EM_EV_L1_START_CON_EST 29 | |
208 #define EM_EV_L1_CONFIG_IMM_ASS 30 | |
209 #define EM_EV_L1_STOP_CON_EST 31 | |
210 #define EM_EV_L1_CONFIG_CHN_ASS 32 | |
211 #define EM_EV_L1_CONFIG_ASYNC_HO 33 | |
212 #define EM_EV_L1_CONFIG_SYNC_HO 34 | |
213 #define EM_EV_L1_CONFIG_PRE_HO 35 | |
214 #define EM_EV_L1_CONFIG_PSEUDO_HO 36 | |
215 #define EM_EV_L1_CONFIG_FREQ_REDEF 37 | |
216 #define EM_EV_L1_CONFIG_CHN_MODIFY 38 | |
217 #define EM_EV_L1_CONFIG_CIPH_SET 39 | |
218 #define EM_EV_L1_START_CBCH_READ 40 | |
219 #define EM_EV_L1_RECEIVE_CBCH 41 | |
220 #define EM_EV_L1_CBCH_MSG_COMPLETE 42 | |
221 #define EM_EV_L1_STOP_CBCH_READ 43 | |
222 #define EM_EV_L1_RECEIVE_NULL 44 | |
223 #define EM_EV_L1_RECEIVE_SCHEDULE 45 | |
224 #define EM_EV_L1_CONFIG_TCH_LOOP 46 | |
225 #define EM_EV_L1_CONFIG_DAT 47 | |
226 #define EM_EV_L1_DEACTIVATE 48 | |
227 | |
228 /* | |
229 * Event trace, data link layer | |
230 */ | |
231 #define EM_EV_DL_SDCCH_EST_PASSED 1 | |
232 #define EM_EV_DL_SDCCH_EST_FAILED 2 | |
233 #define EM_EV_DL_FACCH_EST_PASSED 3 | |
234 #define EM_EV_DL_FACCH_EST_FAILED 4 | |
235 #define EM_EV_DL_SDCCH_3_EST_PASSED 5 | |
236 #define EM_EV_DL_SDCCH_3_EST_FAILED 6 | |
237 #define EM_EV_DL_SACCH_3_EST_PASSED 7 | |
238 #define EM_EV_DL_SACCH_3_EST_FAILED 8 | |
239 #define EM_EV_DL_SDCCH_REL 9 | |
240 #define EM_EV_DL_FACCH_REL 10 | |
241 #define EM_EV_DL_SDCCH_3_REL 11 | |
242 #define EM_EV_DL_FACCH_3_REL 12 | |
243 #define EM_EV_DL_SDCCH_SUSPEND 13 | |
244 #define EM_EV_DL_FACCH_SUSPEND 14 | |
245 #define EM_EV_DL_SDCCH_MINOR_ERR 15 | |
246 #define EM_EV_DL_FACCH_MINOR_ERR 16 | |
247 #define EM_EV_DL_SDCCH_3_MINOR_ERR 17 | |
248 #define EM_EV_DL_SACCH_3_MINOR_ERR 18 | |
249 #define EM_EV_DL_SDCCH_MAJOR_ERR 19 | |
250 #define EM_EV_DL_FACCH_MAJOR_ERR 20 | |
251 #define EM_EV_DL_SDCCH_3_MAJOR_ERR 21 | |
252 #define EM_EV_DL_SACCH_3_MAJOR_ERR 22 | |
253 | |
254 | |
255 /* | |
256 * Event trace, radio resource management | |
257 */ | |
258 #define EM_EV_RR_SRCH_LIM_STARTED 1 | |
259 #define EM_EV_RR_SRCH_LIM_PASSED 2 | |
260 #define EM_EV_RR_SRCH_LIM_FAILED 3 | |
261 #define EM_EV_RR_SRCH_FULL_START_MM 4 | |
262 #define EM_EV_RR_SRCH_FULL_START_RR 5 | |
263 #define EM_EV_RR_SRCH_FULL_PASSED 6 | |
264 #define EM_EV_RR_SRCH_FULL_FAILED 7 | |
265 #define EM_EV_RR_SRCH_HPLMN_START_RR 8 | |
266 #define EM_EV_RR_SRCH_HPLMN_PASSED 9 | |
267 #define EM_EV_RR_SRCH_HPLMN_FAILED 10 | |
268 #define EM_EV_RR_SRCH_PLMN_START 11 | |
269 #define EM_EV_RR_SRCH_PLMN_FINISHED 12 | |
270 #define EM_EV_RR_IDLE_NO_SERVICE 13 | |
271 #define EM_EV_RR_IDLE_LIM_SERVICE 14 | |
272 #define EM_EV_RR_IDLE_FULL_SERVICE 15 | |
273 #define EM_EV_RR_CELL_RESEL_START 16 | |
274 #define EM_EV_RR_CELL_RESEL_END 17 | |
275 #define EM_EV_RR_PAGING_DETECTED 18 | |
276 #define EM_EV_RR_DOWNLINK_FAILURE 19 | |
277 #define EM_EV_RR_CHANNEL_REQUEST 20 | |
278 #define EM_EV_RR_IMM_ASS 21 | |
279 #define EM_EV_RR_IMM_ASS_EXT 22 | |
280 #define EM_EV_RR_IMM_ASS_REJ 23 | |
281 #define EM_EV_RR_L2_CON_EST 24 | |
282 #define EM_EV_RR_EARLY_CLASS_SEND 25 | |
283 #define EM_EV_RR_CLASS_INTERROGATION 26 | |
284 #define EM_EV_RR_ASS 27 | |
285 #define EM_EV_RR_ASS_FAIL_REJ 28 | |
286 #define EM_EV_RR_ASS_FAIL_REC 29 | |
287 #define EM_EV_RR_ASS_FAIL_LOSS 30 | |
288 #define EM_EV_RR_ASS_COMPLETE 31 | |
289 #define EM_EV_RR_HO_ASYNC 32 | |
290 #define EM_EV_RR_HO_SYNC 33 | |
291 #define EM_EV_RR_HO_PRE_SYNC 34 | |
292 #define EM_EV_RR_HO_PSEUDO_SYNC 35 | |
293 #define EM_EV_RR_HO_FAIL_REJ 36 | |
294 #define EM_EV_RR_HO_FAIL_REC 37 | |
295 #define EM_EV_RR_HO_FAIL_LOSS 38 | |
296 #define EM_EV_RR_HO_COMPLETE 39 | |
297 #define EM_EV_RR_FREQ_REDEF 40 | |
298 #define EM_EV_RR_CIPH_SET 41 | |
299 #define EM_EV_RR_CHAN_MOD_START 42 | |
300 #define EM_EV_RR_CHAN_MOD_END 43 | |
301 #define EM_EV_RR_CHAN_RELEASE 44 | |
302 #define EM_EV_RR_RADIO_LINK_FAIL 45 | |
303 #define EM_EV_RR_LAYER_2_LOSS 46 | |
304 #define EM_EV_RR_STATUS_RECEIVED 47 | |
305 #define EM_EV_RR_STATUS_SEND 48 | |
306 #define EM_EV_RR_TCH_LOOP 49 | |
307 #define EM_EV_RR_TEST_INTERFACE 50 | |
308 #define EM_EV_RR_DEACTIVATION 51 | |
309 | |
310 /* | |
311 * Event trace, mobility management | |
312 */ | |
313 #define EM_EV_MM_SIM_INSERT 1 | |
314 #define EM_EV_MM_SIM_REMOVE 2 | |
315 #define EM_EV_MM_SET_PLMN_MODE 3 | |
316 #define EM_EV_MM_START_REG_LIM 4 | |
317 #define EM_EV_MM_START_REG_FULL 5 | |
318 #define EM_EV_MM_START_PLMN_AVAIL 6 | |
319 #define EM_EV_MM_CS_NO_SERVICE 7 | |
320 #define EM_EV_MM_CS_LIM_SERVICE 8 | |
321 #define EM_EV_MM_CS_FULL_SERVICE 9 | |
322 #define EM_EV_MM_CR_NO_SERVICE 10 | |
323 #define EM_EV_MM_CR_LIM_SERVICE 11 | |
324 #define EM_EV_MM_CR_FULL_SERVICE 12 | |
325 #define EM_EV_MM_RESULT_PLMN_LIST 13 | |
326 #define EM_EV_MM_IMSI_ATT_STARTED 14 | |
327 #define EM_EV_MM_RR_CON_ESTABLISHED 15 | |
328 #define EM_EV_MM_RR_CON_FAILED 16 | |
329 #define EM_EV_MM_LOC_UPD_ACCEPT 17 | |
330 #define EM_EV_MM_NORM_LUP_STARTED 18 | |
331 #define EM_EV_MM_PERI_LUP_STARTED 19 | |
332 #define EM_EV_MM_TMSI_REALLOC_START 20 | |
333 #define EM_EV_MM_TMSI_REALLOC_CMP 21 | |
334 #define EM_EV_MM_LOC_UPD_REJECT 22 | |
335 #define EM_EV_MM_IMSI_DETACH 23 | |
336 #define EM_EV_MM_ID_REQUEST 24 | |
337 #define EM_EV_MM_ID_RESPONSE 25 | |
338 #define EM_EV_MM_AUTH_REQUEST 26 | |
339 #define EM_EV_MM_AUTH_RESPONSE 27 | |
340 #define EM_EV_MM_AUTH_REJECT 28 | |
341 #define EM_EV_MM_CM_SERV_REQ_CC 29 | |
342 #define EM_EV_MM_CM_SERV_REQ_SS_SMS 30 | |
343 #define EM_EV_MM_CM_SERV_ACC_CIPH 31 | |
344 #define EM_EV_MM_CM_SERV_ACC_CMD 32 | |
345 #define EM_EV_MM_CM_SERV_REJECT 33 | |
346 | |
347 /* | |
348 * Infrastructure Data - Serving Cell Information | |
349 */ | |
350 #define EM_IN_SC_BCCH_ARFCN 1 | |
351 #define EM_IN_SC_C1 2 | |
352 #define EM_IN_SC_RX 3 | |
353 #define EM_IN_SC_BSIC 4 | |
354 #define EM_IN_SC_DLT 5 | |
355 #define EM_IN_SC_TX_POWER 6 | |
356 #define EM_IN_SC_TS 7 | |
357 #define EM_IN_SC_DEDI_ARFCN 8 | |
358 #define EM_IN_SC_DEDI_RX_FULL 9 | |
359 #define EM_IN_SC_DEDI_RX_SUB 10 | |
360 #define EM_IN_SC_DEDI_RLT 11 | |
361 #define EM_IN_SC_DEDI_TA 12 | |
362 #define EM_IN_SC_DEDI_QUAL_FULL 13 | |
363 #define EM_IN_SC_DEDI_QUAL_SUB 14 | |
364 #define EM_IN_SC_NMR_RAW 15 | |
365 #define EM_IN_SC_BCCH_LIST_RAW 16 | |
366 #define EM_IN_SC_C2 17 | |
367 #define EM_IN_SC_LAC 18 | |
368 #define EM_IN_SC_BA 19 | |
369 #define EM_IN_SC_BQ 20 | |
370 #define EM_IN_SC_TIL_STATE 21 | |
371 | |
372 /* | |
373 * Infrastructure Data - Neighbour Cell Information | |
374 */ | |
375 #define EM_IN_NC_NO_OF_NCELLS 1 | |
376 #define EM_IN_NC_BCCH_1 2 | |
377 #define EM_IN_NC_BCCH_2 3 | |
378 #define EM_IN_NC_BCCH_3 4 | |
379 #define EM_IN_NC_BCCH_4 5 | |
380 #define EM_IN_NC_BCCH_5 6 | |
381 #define EM_IN_NC_BCCH_6 7 | |
382 #define EM_IN_NC_RX_1 8 | |
383 #define EM_IN_NC_RX_2 9 | |
384 #define EM_IN_NC_RX_3 10 | |
385 #define EM_IN_NC_RX_4 11 | |
386 #define EM_IN_NC_RX_5 12 | |
387 #define EM_IN_NC_RX_6 13 | |
388 #define EM_IN_NC_C1_1 14 | |
389 #define EM_IN_NC_C1_2 15 | |
390 #define EM_IN_NC_C1_3 16 | |
391 #define EM_IN_NC_C1_4 17 | |
392 #define EM_IN_NC_C1_5 18 | |
393 #define EM_IN_NC_C1_6 19 | |
394 #define EM_IN_NC_BSIC_1 20 | |
395 #define EM_IN_NC_BSIC_2 21 | |
396 #define EM_IN_NC_BSIC_3 22 | |
397 #define EM_IN_NC_BSIC_4 23 | |
398 #define EM_IN_NC_BSIC_5 24 | |
399 #define EM_IN_NC_BSIC_6 25 | |
400 #define EM_IN_NC_CID_1 26 | |
401 #define EM_IN_NC_CID_2 27 | |
402 #define EM_IN_NC_CID_3 28 | |
403 #define EM_IN_NC_CID_4 29 | |
404 #define EM_IN_NC_CID_5 30 | |
405 #define EM_IN_NC_CID_6 31 | |
406 #define EM_IN_NC_FN_OFFSET_1 32 | |
407 #define EM_IN_NC_FN_OFFSET_2 33 | |
408 #define EM_IN_NC_FN_OFFSET_3 34 | |
409 #define EM_IN_NC_FN_OFFSET_4 35 | |
410 #define EM_IN_NC_FN_OFFSET_5 36 | |
411 #define EM_IN_NC_FN_OFFSET_6 37 | |
412 #define EM_IN_NC_TA_OFFSET_1 38 | |
413 #define EM_IN_NC_TA_OFFSET_2 39 | |
414 #define EM_IN_NC_TA_OFFSET_3 40 | |
415 #define EM_IN_NC_TA_OFFSET_4 41 | |
416 #define EM_IN_NC_TA_OFFSET_5 42 | |
417 #define EM_IN_NC_TA_OFFSET_6 43 | |
418 #define EM_IN_NC_C2_1 44 | |
419 #define EM_IN_NC_C2_2 45 | |
420 #define EM_IN_NC_C2_3 46 | |
421 #define EM_IN_NC_C2_4 47 | |
422 #define EM_IN_NC_C2_5 48 | |
423 #define EM_IN_NC_C2_6 49 | |
424 #define EM_IN_NC_LAC_1 50 | |
425 #define EM_IN_NC_LAC_2 51 | |
426 #define EM_IN_NC_LAC_3 52 | |
427 #define EM_IN_NC_LAC_4 53 | |
428 #define EM_IN_NC_LAC_5 54 | |
429 #define EM_IN_NC_LAC_6 55 | |
430 #define EM_IN_NC_BA_1 56 | |
431 #define EM_IN_NC_BA_2 57 | |
432 #define EM_IN_NC_BA_3 58 | |
433 #define EM_IN_NC_BA_4 59 | |
434 #define EM_IN_NC_BA_5 60 | |
435 #define EM_IN_NC_BA_6 61 | |
436 #define EM_IN_NC_BQ_1 62 | |
437 #define EM_IN_NC_BQ_2 63 | |
438 #define EM_IN_NC_BQ_3 64 | |
439 #define EM_IN_NC_BQ_4 65 | |
440 #define EM_IN_NC_BQ_5 66 | |
441 #define EM_IN_NC_BQ_6 67 | |
442 #define EM_IN_NC_TIL_STATE_1 68 | |
443 #define EM_IN_NC_TIL_STATE_2 69 | |
444 #define EM_IN_NC_TIL_STATE_3 70 | |
445 #define EM_IN_NC_TIL_STATE_4 71 | |
446 #define EM_IN_NC_TIL_STATE_5 72 | |
447 #define EM_IN_NC_TIL_STATE_6 73 | |
448 #define EM_IN_NC_TIL_SYNC_CNT 74 | |
449 #define EM_IN_NC_TIL_BCCH_CNT 75 | |
450 | |
451 /* | |
452 * Infrastructure Data - Location and Paging Parameter | |
453 */ | |
454 #define EM_IN_LP_BS_PA_MFRMS 1 | |
455 #define EM_IN_LP_T3212 2 | |
456 #define EM_IN_LP_MCC 3 | |
457 #define EM_IN_LP_MNC 4 | |
458 #define EM_IN_LP_LAC 5 | |
459 #define EM_IN_LP_TMSI 6 | |
460 #define EM_IN_LP_LAC_RAW 7 | |
461 #define EM_IN_LP_CI_RAW 8 | |
462 | |
463 #if defined (NEW_FRAME) | |
464 /* | |
465 * to achieve backward compatibility with older definitions | |
466 */ | |
467 #define drv_SignalCB_Type T_DRV_CB_FUNC | |
468 #define drv_SignalID_Type T_DRV_SIGNAL | |
469 #define T_VSI_THANDLE USHORT | |
470 #endif | |
471 | |
472 /* | |
473 * Prototypes | |
474 */ | |
475 #ifndef FF_EM_MODE | |
476 EXTERN UBYTE em_Init (void); | |
477 EXTERN void em_Exit (void); | |
478 #endif /* FF_EM_MODE */ | |
479 EXTERN UBYTE em_Read_Parameter (UBYTE em_class, | |
480 UBYTE em_subclass, | |
481 UBYTE em_type, | |
482 em_data_type * out_em_data); | |
483 EXTERN UBYTE em_Enable_Post_Mortem (void); | |
484 EXTERN UBYTE em_Disable_Post_Mortem (void); | |
485 EXTERN UBYTE em_Read_Post_Mortem (em_data_type * out_em_data); | |
486 | |
487 #endif |