FreeCalypso > hg > fc-magnetite
comparison src/aci2/aci/aci.h @ 3:93999a60b835
src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 26 Sep 2016 00:29:36 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:c41a534f33c6 | 3:93999a60b835 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : GSM-F&D (8411) | |
4 | Modul : ACI | |
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 : Definitions for the AT Command Interpreter | |
18 +----------------------------------------------------------------------------- | |
19 */ | |
20 | |
21 #ifndef ACI_H | |
22 #define ACI_H | |
23 | |
24 /* | |
25 * Definition whether a shared CCD buffer shall be used | |
26 */ | |
27 #define SHARED_CCD_BUF | |
28 #define MAX_FIE_CODE_BUF_LEN 220 /* FIE code buffer length */ | |
29 | |
30 /*==== TEST =====================================================*/ | |
31 /* | |
32 * instance management | |
33 */ | |
34 | |
35 #define ACI_INSTANCES 6 /* is the same as UART_MAX_NUMBER_OF_CHANNELS in UART entity */ | |
36 | |
37 /* | |
38 * PALLOC_SDU | |
39 */ | |
40 | |
41 #define ENCODE_OFFSET 0 | |
42 | |
43 /* | |
44 * Dynamic Configuration Numbers | |
45 */ | |
46 | |
47 #define ACI_RESET 0 | |
48 | |
49 #ifndef NO_ASCIIZ | |
50 #define NO_ASCIIZ | |
51 #endif | |
52 | |
53 /* | |
54 * Configuration Parameter | |
55 */ | |
56 | |
57 /* | |
58 * Dynamic Configuration Numbers | |
59 */ | |
60 #define RESET 0 | |
61 #define TIMER_SET 1 | |
62 #define TIMER_RESET 2 | |
63 #define TIMER_SPEED_UP 3 | |
64 #define TIMER_SLOW_DOWN 4 | |
65 #define TIMER_SUPPRESS 5 | |
66 #define KEY_SEQUENCE 6 | |
67 #define START_AOC 7 | |
68 #define KEY_PRESS 8 | |
69 #define KEY_RELEASE 9 | |
70 #define CPOL_MODE 10 | |
71 #define CPOL_IDX2 11 | |
72 #define ATI_VIA_TIF 12 | |
73 #ifdef WIN32 | |
74 #define DATA_INPUT 13 | |
75 #endif /* WIN32 */ | |
76 #define DATA_INPUT 13 | |
77 | |
78 | |
79 /* | |
80 * Timer Names | |
81 */ | |
82 #ifdef FF_ATI | |
83 #define TRING "TRING" | |
84 #endif | |
85 | |
86 #define TECT "TECT" | |
87 #define TMPTY "TMPTY" | |
88 #define TFIT "TFIT" | |
89 #define TDTMF "TDTMF" | |
90 | |
91 #define ONE_FRAME 5 | |
92 #define TEN_FRAMES 47 | |
93 | |
94 /*==== bit field manipulation macros ==============================*/ | |
95 | |
96 #define BITFIELD_CHECK(x, y) (x & y) | |
97 #define BITFIELD_SET(x, y) (x |= y) | |
98 #define BITFIELD_CLEAR(x, y) (x &= (~y)) | |
99 | |
100 /*==== TYPES ======================================================*/ | |
101 | |
102 typedef struct | |
103 { | |
104 UBYTE t_mode; | |
105 ULONG t_val; | |
106 } T_TIMER_CONFIG; | |
107 | |
108 /* | |
109 * ACI types | |
110 */ | |
111 | |
112 typedef struct | |
113 { | |
114 UBYTE dummy; | |
115 } T_ACI_DATA; | |
116 | |
117 typedef struct | |
118 { | |
119 USHORT l_buf; | |
120 USHORT o_buf; | |
121 UBYTE buf[MAX_FIE_CODE_BUF_LEN]; /* buffer for FIE coding */ | |
122 } T_ACI_FIE_BUF; | |
123 | |
124 #define TIMERSTART(v,h) vsi_t_start (VSI_CALLER h, v) | |
125 #define PTIMERSTART(v0,v1,h) vsi_t_pstart (VSI_CALLER h, v0, v1) | |
126 #define TIMERSTOP(h) vsi_t_stop(VSI_CALLER h) | |
127 /*==== EXPORT =====================================================*/ | |
128 /* | |
129 * CCD decode buffer | |
130 */ | |
131 #ifdef OPTION_MULTITHREAD | |
132 #define _decodedMsg _ENTITY_PREFIXED(_decodedMsg) | |
133 #endif | |
134 | |
135 #if !defined SHARED_CCD_BUF | |
136 #define CCD_START | |
137 #define CCD_END | |
138 #else | |
139 #define CCD_START if(!CCDbuf){_decodedMsg = ccd_begin();CCDbuf=TRUE;} | |
140 #define CCD_END if(CCDbuf){ccd_end();CCDbuf=FALSE;} | |
141 #endif | |
142 | |
143 #ifdef PSA_SSF_C | |
144 | |
145 GLOBAL T_ACI_FIE_BUF ssFIECodeBuf; | |
146 GLOBAL UBYTE * ssFIEDecodeBuf; | |
147 | |
148 #if !defined SHARED_CCD_BUF | |
149 #ifdef SIM_TOOLKIT | |
150 GLOBAL UBYTE _decodedMsg[MAXIMUM(MAXIMUM(MAX_MSTRUCT_LEN_FAC, | |
151 MAX_MSTRUCT_LEN_SAT), | |
152 MAX_MSTRUCT_LEN_CC)]; | |
153 #else | |
154 GLOBAL UBYTE _decodedMsg[MAXIMUM(MAX_MSTRUCT_LEN_FAC, | |
155 MAX_MSTRUCT_LEN_CC)]; | |
156 #endif /* SIM_TOOLKIT */ | |
157 #else | |
158 GLOBAL UBYTE* _decodedMsg; | |
159 GLOBAL UBYTE CCDbuf = FALSE; | |
160 #endif /* SHARED_CCD_BUF */ | |
161 #else /* PSA_SSF_C */ | |
162 | |
163 EXTERN T_ACI_FIE_BUF ssFIECodeBuf; | |
164 EXTERN UBYTE * ssFIEDecodeBuf; | |
165 | |
166 #if !defined SHARED_CCD_BUF | |
167 #ifdef SIM_TOOLKIT | |
168 EXTERN UBYTE _decodedMsg[MAXIMUM(MAXIMUM(MAX_MSTRUCT_LEN_FAC, | |
169 MAX_MSTRUCT_LEN_SAT), | |
170 MAX_MSTRUCT_LEN_CC)]; | |
171 #else | |
172 EXTERN UBYTE _decodedMsg[MAXIMUM(MAX_MSTRUCT_LEN_FAC, | |
173 MAX_MSTRUCT_LEN_CC)]; | |
174 #endif /* SIM_TOOLKIT */ | |
175 #else | |
176 EXTERN UBYTE* _decodedMsg; | |
177 EXTERN UBYTE CCDbuf; | |
178 #endif /* SHARED_CCD_BUF */ | |
179 | |
180 #endif /* PSA_SSF_C */ | |
181 | |
182 /* | |
183 * Prototypes Timer Modul | |
184 */ | |
185 | |
186 /* | |
187 * If all entities are linked into one module this definitions | |
188 * prefixes all this functions with the entity name | |
189 */ | |
190 EXTERN BOOL smi_timeout (USHORT handle); | |
191 | |
192 /* | |
193 * If all entities are linked into one module this definitions | |
194 * prefixes the global data with the entity name | |
195 */ | |
196 | |
197 #ifdef OPTION_MULTITHREAD | |
198 #define hCommACI _ENTITY_PREFIXED(hCommACI) | |
199 #if defined FF_TRACE_OVER_MTST | |
200 #define hCommMTST _ENTITY_PREFIXED(hCommMTST) | |
201 #endif | |
202 #define hCommSIM _ENTITY_PREFIXED(hCommSIM) | |
203 #define hCommMM _ENTITY_PREFIXED(hCommMM) | |
204 #define hCommCC _ENTITY_PREFIXED(hCommCC) | |
205 #ifdef FF_ESIM | |
206 #define hCommESIM _ENTITY_PREFIXED(hCommESIM) | |
207 #endif | |
208 #ifdef UART | |
209 #define hCommUART _ENTITY_PREFIXED(hCommUART) | |
210 #define hCommDTI _ENTITY_PREFIXED(hCommDTI) | |
211 #endif | |
212 #ifdef FF_PSI | |
213 #define hCommPSI _ENTITY_PREFIXED(hCommPSI) | |
214 #endif /*FF_PSI*/ | |
215 #define hCommSS _ENTITY_PREFIXED(hCommSS) | |
216 #define hCommSMS _ENTITY_PREFIXED(hCommSMS) | |
217 #define hCommPL _ENTITY_PREFIXED(hCommPL) | |
218 #if defined FF_EOTD | |
219 #define hCommLC _ENTITY_PREFIXED(hCommLC) | |
220 #endif | |
221 #ifdef FF_TCP_IP | |
222 #define hCommAAA _ENTITY_PREFIXED(hCommAAA) /* SKA 11.Dec2002 */ | |
223 #endif | |
224 | |
225 #ifdef FAX_AND_DATA | |
226 #define hCommL2R _ENTITY_PREFIXED(hCommL2R) | |
227 #define hCommTRA _ENTITY_PREFIXED(hCommTRA) | |
228 #ifdef FF_FAX | |
229 #define hCommT30 _ENTITY_PREFIXED(hCommT30) | |
230 #endif | |
231 #ifndef USE_L1FD_FUNC_INTERFACE | |
232 #define hCommRA _ENTITY_PREFIXED(hCommRA) | |
233 #endif | |
234 #ifdef FF_EOTD | |
235 #define hCommLC _ENTITY_PREFIXED(hCommLC) | |
236 #endif | |
237 #endif /* FAX_AND_DATA */ | |
238 | |
239 #ifdef FF_GPF_TCPIP | |
240 #define hCommTCPIP _ENTITY_PREFIXED(hCommTCPIP) | |
241 #define hCommDCM _ENTITY_PREFIXED(hCommDCM) | |
242 #endif | |
243 | |
244 #if defined (CO_TCPIP_TESTAPP) || defined (CO_BAT_TESTAPP) | |
245 #define hCommAPP _ENTITY_PREFIXED(hCommAPP) | |
246 #endif | |
247 | |
248 #ifdef CO_UDP_IP | |
249 #define hCommUDP _ENTITY_PREFIXED(hCommUDP) | |
250 #define hCommIP _ENTITY_PREFIXED(hCommIP) | |
251 #endif | |
252 | |
253 #ifdef FF_WAP | |
254 #define hCommWAP _ENTITY_PREFIXED(hCommWAP) | |
255 #endif /* FF_WAP */ | |
256 | |
257 #if defined (FF_WAP) || defined (GPRS) || defined (FF_TCP_IP) || defined(FF_GPF_TCPIP) || defined (FF_SAT_E) | |
258 #define hCommPPP _ENTITY_PREFIXED(hCommPPP) | |
259 #endif /* (FF_WAP) || (GPRS) || (FF_TCP_IP) || (FF_GPF_TCPIP) || defined (FF_SAT_E) */ | |
260 | |
261 /* used only for the EM to reduce primitive sending. Otherwise all primitives from | |
262 ACI to RR have to be passed through MM. | |
263 */ | |
264 #ifdef FF_EM_MODE | |
265 #define hCommRR _ENTITY_PREFIXED(hCommRR) | |
266 #endif /* FF_EM_MODE */ | |
267 | |
268 #ifdef GPRS | |
269 #define hCommGMM _ENTITY_PREFIXED(hCommGMM) | |
270 #define hCommSM _ENTITY_PREFIXED(hCommSM) | |
271 #define hCommSNDCP _ENTITY_PREFIXED(hCommSNDCP) | |
272 #ifdef FF_PKTIO | |
273 #define hCommPKTIO _ENTITY_PREFIXED(hCommPKTIO) | |
274 #endif | |
275 #endif /* GPRS */ | |
276 #if defined(FF_ATI) && defined(BT_ADAPTER) | |
277 #define hCommBTI _ENTITY_PREFIXED(hCommBTI) | |
278 #endif /* FF_ATI && BT_ADAPTER */ | |
279 #define hCommL1 _ENTITY_PREFIXED(hCommL1) | |
280 #endif | |
281 | |
282 | |
283 #ifdef ACI_PEI_C | |
284 | |
285 GLOBAL T_HANDLE hCommACI = VSI_ERROR; /* ACI Communication */ | |
286 #ifdef FF_TRACE_OVER_MTST | |
287 GLOBAL T_HANDLE hCommMTST = VSI_ERROR;/* MTST Communication */ | |
288 #endif | |
289 GLOBAL T_HANDLE hCommSIM = VSI_ERROR; /* SIM Communication */ | |
290 GLOBAL T_HANDLE hCommMM = VSI_ERROR; /* MM Communication */ | |
291 GLOBAL T_HANDLE hCommCC = VSI_ERROR; /* CC Communication */ | |
292 #ifdef UART | |
293 GLOBAL T_HANDLE hCommUART= VSI_ERROR; /* UART Communication */ | |
294 GLOBAL T_HANDLE hCommDTI = VSI_ERROR; /* SMS Communication */ | |
295 #endif | |
296 GLOBAL T_HANDLE hCommSS = VSI_ERROR; /* SS Communication */ | |
297 #ifdef FF_ESIM | |
298 GLOBAL T_HANDLE hCommESIM = VSI_ERROR; /* ESIM Communication */ | |
299 #endif | |
300 GLOBAL T_HANDLE hCommSMS = VSI_ERROR; /* SMS Communication */ | |
301 GLOBAL T_HANDLE hCommPL = VSI_ERROR; /* PL Communication */ | |
302 #if defined FF_EOTD | |
303 GLOBAL T_HANDLE hCommLC = VSI_ERROR; /* LC Communication */ | |
304 #endif | |
305 #ifdef FF_TCP_IP | |
306 GLOBAL T_HANDLE hCommAAA = VSI_ERROR; /* AAA Communication */ /* SKA 11.Dec2002 */ | |
307 #endif | |
308 | |
309 #ifdef FAX_AND_DATA | |
310 GLOBAL T_HANDLE hCommL2R = VSI_ERROR; /* L2R Communication */ | |
311 GLOBAL T_HANDLE hCommTRA = VSI_ERROR; /* TRA Communication */ | |
312 #ifdef FF_FAX | |
313 GLOBAL T_HANDLE hCommT30 = VSI_ERROR; /* T30 Communication */ | |
314 #endif | |
315 #ifndef USE_L1FD_FUNC_INTERFACE | |
316 GLOBAL T_HANDLE hCommRA = VSI_ERROR; /* RA Communication */ | |
317 #endif | |
318 #endif /* FAX_AND_DATA */ | |
319 | |
320 | |
321 #ifdef FF_GPF_TCPIP | |
322 GLOBAL T_HANDLE hCommTCPIP = VSI_ERROR; /* TCPIP Communication */ | |
323 #endif | |
324 | |
325 #if defined (CO_TCPIP_TESTAPP) || defined (CO_BAT_TESTAPP) | |
326 GLOBAL T_HANDLE hCommAPP = VSI_ERROR; /* APP Communication */ | |
327 #endif | |
328 | |
329 #ifdef CO_UDP_IP | |
330 GLOBAL T_HANDLE hCommUDP = VSI_ERROR; /* UDP Communication */ | |
331 GLOBAL T_HANDLE hCommIP = VSI_ERROR; /* IP Communication */ | |
332 #endif /* defined CO_UDP_IP */ | |
333 | |
334 #ifdef FF_WAP | |
335 GLOBAL T_HANDLE hCommWAP = VSI_ERROR; /* WAP Communication */ | |
336 #endif /* FF_WAP */ | |
337 | |
338 | |
339 #if defined (FF_WAP) || defined (GPRS) || defined (FF_TCP_IP) || defined(FF_GPF_TCPIP) | |
340 GLOBAL T_HANDLE hCommPPP = VSI_ERROR; /* PPP Communication */ | |
341 #endif /* (FF_WAP) || (GPRS) || (FF_TCP_IP) || (FF_GPF_TCPIP) */ | |
342 | |
343 #ifdef FF_EM_MODE | |
344 GLOBAL T_HANDLE hCommRR = VSI_ERROR; /* EM Communication */ | |
345 #endif /* FF_EM_MODE */ | |
346 | |
347 #ifdef GPRS | |
348 GLOBAL T_HANDLE hCommGMM = VSI_ERROR; /* GMM Communication */ | |
349 GLOBAL T_HANDLE hCommSM = VSI_ERROR; /* SM Communication */ | |
350 GLOBAL T_HANDLE hCommSNDCP = VSI_ERROR; /* SNDCP Communication */ | |
351 #ifdef FF_PKTIO | |
352 GLOBAL T_HANDLE hCommPKTIO = VSI_ERROR; /* PKTIO Communication */ | |
353 #endif | |
354 #endif /* GPRS */ | |
355 #ifdef FF_PSI | |
356 GLOBAL T_HANDLE hCommPSI = VSI_ERROR; /* PSI Communication */ | |
357 #endif /*FF_PSI*/ | |
358 #if defined(FF_ATI) && defined(BT_ADAPTER) | |
359 GLOBAL T_HANDLE hCommBTI = VSI_ERROR; /* BTI Communication */ | |
360 #endif /* FF_ATI && BT_ADAPTER */ | |
361 | |
362 GLOBAL T_HANDLE hCommL1 = VSI_ERROR; /* Layer 1 Communication */ | |
363 | |
364 GLOBAL T_HANDLE aci_handle; | |
365 #define hCommMMI aci_handle | |
366 GLOBAL T_HANDLE hCommDCM = VSI_ERROR; /* DCM Communication */ | |
367 | |
368 #else /* ACI_PEI_C */ | |
369 | |
370 EXTERN T_HANDLE hCommACI; /* ACI Communication */ | |
371 #if defined FF_TRACE_OVER_MTST | |
372 EXTERN T_HANDLE hCommMTST; /* MTST Communication */ | |
373 #endif | |
374 EXTERN T_HANDLE hCommSIM; /* SIM Communication */ | |
375 EXTERN T_HANDLE hCommMM; /* MM Communication */ | |
376 EXTERN T_HANDLE hCommCC; /* CC Communication */ | |
377 #ifdef UART | |
378 EXTERN T_HANDLE hCommUART; /* UART Communication */ | |
379 EXTERN T_HANDLE hCommDTI; /* DTI Communication */ | |
380 #endif | |
381 EXTERN T_HANDLE hCommSS; /* SS Communication */ | |
382 #ifdef FF_ESIM | |
383 EXTERN T_HANDLE hCommESIM; /* ESIM Communication */ | |
384 #endif | |
385 EXTERN T_HANDLE hCommSMS; /* SMS Communication */ | |
386 EXTERN T_HANDLE hCommPL; /* PL Communication */ | |
387 #if defined FF_EOTD | |
388 EXTERN T_HANDLE hCommLC; /* LC Communication */ | |
389 #endif | |
390 #ifdef FF_TCP_IP | |
391 EXTERN T_HANDLE hCommAAA; /* AAA Communication */ /* SKA 11.Dec2002 */ | |
392 #endif | |
393 | |
394 #ifdef FAX_AND_DATA | |
395 EXTERN T_HANDLE hCommL2R; /* L2R Communication */ | |
396 EXTERN T_HANDLE hCommTRA; /* TRA Communication */ | |
397 #ifdef FF_FAX | |
398 EXTERN T_HANDLE hCommT30; /* T30 Communication */ | |
399 #endif | |
400 #ifndef USE_L1FD_FUNC_INTERFACE | |
401 EXTERN T_HANDLE hCommRA; /* RA Communication */ | |
402 #endif | |
403 #endif /* FAX_AND_DATA */ | |
404 | |
405 #ifdef FF_GPF_TCPIP | |
406 EXTERN T_HANDLE hCommTCPIP; /* TCPIP Communication */ | |
407 EXTERN T_HANDLE hCommDCM; /* DCM Communication */ | |
408 #endif | |
409 | |
410 #if defined (CO_TCPIP_TESTAPP) || defined (CO_BAT_TESTAPP) | |
411 EXTERN T_HANDLE hCommAPP; /* APP Communication */ | |
412 #endif | |
413 | |
414 #ifdef CO_UDP_IP | |
415 EXTERN T_HANDLE hCommUDP; /* UDP Communication */ | |
416 EXTERN T_HANDLE hCommIP; /* IP Communication */ | |
417 #endif | |
418 | |
419 #ifdef FF_WAP | |
420 EXTERN T_HANDLE hCommWAP; /* WAP Communication */ | |
421 #endif | |
422 | |
423 | |
424 #if defined (FF_WAP) || defined (GPRS) || defined (FF_TCP_IP) || defined(FF_GPF_TCPIP) | |
425 EXTERN T_HANDLE hCommPPP; /* PPP Communication */ | |
426 #endif /* (FF_WAP) || (GPRS) || (FF_TCP_IP) || (FF_GPF_TCPIP) */ | |
427 | |
428 #ifdef FF_EM_MODE | |
429 EXTERN T_HANDLE hCommRR; /* EM Communication */ | |
430 #endif /* FF_EM_MODE */ | |
431 | |
432 #ifdef GPRS | |
433 EXTERN T_HANDLE hCommGMM; /* GMM Communication */ | |
434 EXTERN T_HANDLE hCommSM; /* SM Communication */ | |
435 EXTERN T_HANDLE hCommSNDCP; /* SNDCP Communication */ | |
436 EXTERN T_HANDLE hCommPKTIO; /* PKTIO Communication */ | |
437 #endif /* GPRS */ | |
438 #ifdef FF_PSI | |
439 EXTERN T_HANDLE hCommPSI; /* PSI Communication */ | |
440 #endif /*FF_PSI*/ | |
441 #if defined(FF_ATI) && defined(BT_ADAPTER) | |
442 EXTERN T_HANDLE hCommBTI; /* BTI Communication */ | |
443 #endif /* FF_ATI && BT_ADAPTER */ | |
444 EXTERN T_HANDLE hcommDCM; /*Application Commnunication */ | |
445 EXTERN T_HANDLE hCommL1; /* Layer 1 */ | |
446 | |
447 | |
448 EXTERN T_HANDLE aci_handle; | |
449 #define hCommMMI aci_handle | |
450 #endif /* ACI_PEI_C */ | |
451 | |
452 /* | |
453 * function prototypes | |
454 */ | |
455 EXTERN void aci_aci_cmd_req (T_ACI_CMD_REQ *data); | |
456 EXTERN void aci_aci_abort_req (T_ACI_ABORT_REQ *data); | |
457 #ifdef BT_ADAPTER | |
458 EXTERN void aci_aci_cmd_res (T_ACI_CMD_RES *aci_cmd_res); | |
459 EXTERN void aci_aci_init_res (T_ACI_INIT_RES *aci_init_res); | |
460 EXTERN void aci_aci_deinit_req (T_ACI_DEINIT_REQ *aci_deinit_req); | |
461 EXTERN void aci_aci_open_port_req (T_ACI_OPEN_PORT_REQ *aci_open_port_req); | |
462 EXTERN void aci_aci_close_port_req (T_ACI_CLOSE_PORT_REQ *aci_close_port_req); | |
463 /* temporary solutions for BT. primitives contain src_id. this must be enabled for all ACI primitives */ | |
464 EXTERN void aci_aci_cmd_req_bt (T_ACI_CMD_REQ_BT *cmd); | |
465 EXTERN void aci_aci_abort_req_bt (T_ACI_ABORT_REQ_BT *data); | |
466 EXTERN void aci_aci_cmd_res_bt (T_ACI_CMD_RES_BT *aci_cmd_res); | |
467 #endif | |
468 EXTERN void aci_aci_trc_ind (T_ACI_TRC_IND *trc_ind); | |
469 #ifdef FF_MMI_RIV | |
470 EXTERN void aci_aci_riv_cmd_req (T_ACI_RIV_CMD_REQ *cmd_ptr); | |
471 #endif | |
472 EXTERN void aci_aci_ext_ind (T_ACI_EXT_IND *aci_ext_ind); | |
473 /* | |
474 * If all entities are linked into one module this definitions | |
475 * prefixes all this functions with the enity name | |
476 */ | |
477 #ifdef OPTION_MULTITHREAD | |
478 #define psa_sim_read_cnf _ENTITY_PREFIXED(psa_sim_read_cnf) | |
479 #define psa_sim_update_cnf _ENTITY_PREFIXED(psa_sim_update_cnf) | |
480 #define psa_sim_read_record_cnf _ENTITY_PREFIXED(psa_sim_read_record_cnf) | |
481 #define psa_sim_update_record_cnf _ENTITY_PREFIXED(psa_sim_update_record_cnf) | |
482 #define psa_sim_increment_cnf _ENTITY_PREFIXED(psa_sim_increment_cnf) | |
483 #define psa_sim_verify_pin_cnf _ENTITY_PREFIXED(psa_sim_verify_pin_cnf) | |
484 #define psa_sim_change_pin_cnf _ENTITY_PREFIXED(psa_sim_change_pin_cnf) | |
485 #define psa_sim_disable_pin_cnf _ENTITY_PREFIXED(psa_sim_disable_pin_cnf) | |
486 #define psa_sim_enable_pin_cnf _ENTITY_PREFIXED(psa_sim_enable_pin_cnf) | |
487 #define psa_sim_unblock_cnf _ENTITY_PREFIXED(psa_sim_unblock_cnf) | |
488 #define psa_sim_mmi_insert_ind _ENTITY_PREFIXED(psa_sim_mmi_insert_ind) | |
489 #define psa_sim_remove_ind _ENTITY_PREFIXED(psa_sim_remove_ind) | |
490 #define psa_sim_sync_cnf _ENTITY_PREFIXED(psa_sim_sync_cnf) | |
491 #define psa_sim_activate_cnf _ENTITY_PREFIXED(psa_sim_activate_cnf) | |
492 #define psa_sim_activate_ind _ENTITY_PREFIXED(psa_sim_activate_ind) | |
493 #define psa_sim_access_cnf _ENTITY_PREFIXED(psa_sim_access_cnf) | |
494 #ifdef SIM_TOOLKIT | |
495 #define psa_sim_toolkit_ind _ENTITY_PREFIXED(psa_sim_toolkit_ind) | |
496 #define psa_sim_toolkit_cnf _ENTITY_PREFIXED(psa_sim_toolkit_cnf) | |
497 #define psa_sim_file_update_ind _ENTITY_PREFIXED(psa_sim_file_update_ind) | |
498 #endif /* SIM_TOOLKIT */ | |
499 #ifdef FF_EM_MODE | |
500 #define psa_em_sc_info_cnf _ENTITY_PREFIXED(psa_em_sc_info_cnf) | |
501 #define psa_em_sc_gprs_info_cnf _ENTITY_PREFIXED(psa_em_sc_gprs_info_cnf) | |
502 #define psa_em_nc_info_cnf _ENTITY_PREFIXED(psa_em_nc_info_cnf) | |
503 #define psa_em_loc_pag_info_cnf _ENTITY_PREFIXED(psa_em_loc_pag_info_cnf) | |
504 #define psa_em_plmn_info_cnf _ENTITY_PREFIXED(psa_em_plmn_info_cnf) | |
505 #define psa_em_cip_hop_dtx_info_cnf _ENTITY_PREFIXED(psa_em_cip_hop_dtx_info_cnf) | |
506 #define psa_em_power_info_cnf _ENTITY_PREFIXED(psa_em_power_info_cnf) | |
507 #define psa_em_identity_info_cnf _ENTITY_PREFIXED(psa_em_identity_info_cnf) | |
508 #define psa_em_sw_version_info_cnf _ENTITY_PREFIXED(psa_em_sw_version_info_cnf) | |
509 #define psa_em_gmm_info_cnf _ENTITY_PREFIXED(psa_em_gmm_info_cnf) | |
510 #define psa_em_grlc_info_cnf _ENTITY_PREFIXED(psa_em_grlc_info_cnf) | |
511 #define psa_em_amr_info_cnf _ENTITY_PREFIXED(psa_em_amr_info_cnf) | |
512 #endif /* FF_EM_MODE */ | |
513 #define psa_mmr_reg_cnf _ENTITY_PREFIXED(psa_mmr_reg_cnf) | |
514 #define psa_mmr_nreg_ind _ENTITY_PREFIXED(psa_mmr_nreg_ind) | |
515 #define psa_mmr_nreg_cnf _ENTITY_PREFIXED(psa_mmr_nreg_cnf) | |
516 #define psa_mmr_plmn_ind _ENTITY_PREFIXED(psa_mmr_plmn_ind) | |
517 #define psa_mmr_info_ind _ENTITY_PREFIXED(psa_mmr_info_ind) | |
518 #define psa_mmr_ciphering_ind _ENTITY_PREFIXED(psa_mmr_ciphering_ind) | |
519 #define psa_mmr_ahplmn_ind _ENTITY_PREFIXED(psa_mmr_ahplmn_ind) | |
520 #define psa_mncc_alert_ind _ENTITY_PREFIXED(psa_mncc_alert_ind) | |
521 #define psa_mncc_call_proceed_ind _ENTITY_PREFIXED(psa_mncc_call_proceed_ind) | |
522 #define psa_mncc_disconnect_ind _ENTITY_PREFIXED(psa_mncc_disconnect_ind) | |
523 #define psa_mncc_hold_cnf _ENTITY_PREFIXED(psa_mncc_hold_cnf) | |
524 #define psa_mncc_progress_ind _ENTITY_PREFIXED(psa_mncc_progress_ind) | |
525 #define psa_mncc_reject_ind _ENTITY_PREFIXED(psa_mncc_reject_ind) | |
526 #define psa_mncc_release_cnf _ENTITY_PREFIXED(psa_mncc_release_cnf) | |
527 #define psa_mncc_release_ind _ENTITY_PREFIXED(psa_mncc_release_ind) | |
528 #define psa_mncc_setup_cnf _ENTITY_PREFIXED(psa_mncc_setup_cnf) | |
529 #define psa_mncc_setup_compl_ind _ENTITY_PREFIXED(psa_mncc_setup_compl_ind) | |
530 #define psa_mncc_setup_ind _ENTITY_PREFIXED(psa_mncc_setup_ind) | |
531 #define psa_mncc_start_dtmf_cnf _ENTITY_PREFIXED(psa_mncc_start_dtmf_cnf) | |
532 #define psa_mncc_sync_ind _ENTITY_PREFIXED(psa_mncc_sync_ind) | |
533 #define psa_mncc_bearer_cap_cnf _ENTITY_PREFIXED(psa_mncc_bearer_cap_cnf) | |
534 #define psa_mncc_prompt_ind _ENTITY_PREFIXED(psa_mncc_prompt_ind) | |
535 #define psa_mncc_recall_ind _ENTITY_PREFIXED(psa_mncc_recall_ind) | |
536 #define psa_mncc_status_ind _ENTITY_PREFIXED(psa_mncc_status_ind) | |
537 #if defined FF_EOTD | |
538 #define psa_mnlc_sms_meas_cnf _ENTITY_PREFIXED(psa_mnlc_sms_meas_cnf) | |
539 #endif | |
540 #define psa_mnss_begin_ind _ENTITY_PREFIXED(psa_mnss_begin_ind) | |
541 #define psa_mnss_facility_ind _ENTITY_PREFIXED(psa_mnss_facility_ind) | |
542 #define psa_mnss_end_ind _ENTITY_PREFIXED(psa_mnss_end_ind) | |
543 | |
544 #define psa_mnsms_delete_cnf _ENTITY_PREFIXED(psa_mnsms_delete_cnf) | |
545 #define psa_mnsms_read_cnf _ENTITY_PREFIXED(psa_mnsms_read_cnf) | |
546 #define psa_mnsms_store_cnf _ENTITY_PREFIXED(psa_mnsms_store_cnf) | |
547 #define psa_mnsms_submit_cnf _ENTITY_PREFIXED(psa_mnsms_submit_cnf) | |
548 #define psa_mnsms_command_cnf _ENTITY_PREFIXED(psa_mnsms_command_cnf) | |
549 #define psa_mnsms_report_ind _ENTITY_PREFIXED(psa_mnsms_report_ind) | |
550 #define psa_mnsms_status_ind _ENTITY_PREFIXED(psa_mnsms_status_ind) | |
551 #define psa_mnsms_message_ind _ENTITY_PREFIXED(psa_mnsms_message_ind) | |
552 #define psa_mnsms_error_ind _ENTITY_PREFIXED(psa_mnsms_error_ind) | |
553 #define psa_mnsms_resume_cnf _ENTITY_PREFIXED(psa_mnsms_resume_cnf) | |
554 #define psa_mnsms_query_cnf _ENTITY_PREFIXED(psa_mnsms_query_cnf) | |
555 #ifdef GPRS | |
556 #define psa_mnsms_mo_serv_cnf _ENTITY_PREFIXED(psa_mnsms_mo_serv_cnf) | |
557 #endif /* GPRS */ | |
558 #ifdef SIM_PERS_OTA | |
559 #define psa_mnsms_OTA_decode_ind _ENTITY_PREFIXED(psa_mnsms_OTA_decode_ind) | |
560 #endif | |
561 #define psa_mmi_keypad_ind _ENTITY_PREFIXED(psa_mmi_keypad_ind) | |
562 #define psa_mmi_rxlev_ind _ENTITY_PREFIXED(psa_mmi_rxlev_ind) | |
563 #define psa_mmi_battery_ind _ENTITY_PREFIXED(psa_mmi_battery_ind) | |
564 #define psa_mmi_cbch_ind _ENTITY_PREFIXED(psa_mmi_cbch_ind) | |
565 #ifdef BTE_MOBILE | |
566 #define psa_mmi_bt_cb_notify_ind _ENTITY_PREFIXED(psa_mmi_bt_cb_notify_ind) | |
567 #endif | |
568 #ifndef VOCODER_FUNC_INTERFACE | |
569 #define psa_mmi_tch_vocoder_cfg_cnf _ENTITY_PREFIXED(psa_mmi_tch_vocoder_cfg_cnf) | |
570 #endif /* VOCODER_FUNC_INTERFACE */ | |
571 | |
572 #ifdef SIM_TOOLKIT | |
573 #define psa_sat_cbch_dnl_ind _ENTITY_PREFIXED(psa_mmi_cbch_dnl_ind) | |
574 #endif /* SIM_TOOLKIT */ | |
575 | |
576 #define psa_ra_activate_cnf _ENTITY_PREFIXED(psa_ra_activate_cnf) | |
577 #define psa_ra_deactivate_cnf _ENTITY_PREFIXED(psa_ra_deactivate_cnf) | |
578 #ifdef FF_FAX | |
579 #define psa_ra_modify_cnf _ENTITY_PREFIXED(psa_ra_modify_cnf) | |
580 #define psa_t30_cap_ind _ENTITY_PREFIXED(psa_t30_cap_ind) | |
581 #define psa_t30_dti_cnf _ENTITY_PREFIXED(psa_t30_dti_cnf) | |
582 #define psa_t30_dti_ind _ENTITY_PREFIXED(psa_t30_dti_ind) | |
583 #define psa_t30_phase_ind _ENTITY_PREFIXED(psa_t30_phase_ind) | |
584 #define psa_t30_sgn_ind _ENTITY_PREFIXED(psa_t30_sgn_ind) | |
585 #define psa_t30_cmpl_ind _ENTITY_PREFIXED(psa_t30_cmpl_ind) | |
586 #define psa_t30_report_ind _ENTITY_PREFIXED(psa_t30_report_ind) | |
587 #define psa_t30_error_ind _ENTITY_PREFIXED(psa_t30_error_ind) | |
588 #define psa_t30_eol_ind _ENTITY_PREFIXED(psa_t30_eol_ind) | |
589 #define psa_t30_deactivate_cnf _ENTITY_PREFIXED(psa_t30_deactivate_cnf) | |
590 #define psa_t30_activate_cnf _ENTITY_PREFIXED(psa_t30_activate_cnf) | |
591 #define psa_t30_preamble_ind _ENTITY_PREFIXED(psa_t30_preamble_ind) | |
592 #endif | |
593 #define psa_l2r_activate_cnf _ENTITY_PREFIXED(psa_l2r_activate_cnf) | |
594 #define psa_l2r_deactivate_cnf _ENTITY_PREFIXED(psa_l2r_deactivate_cnf) | |
595 #define psa_l2r_connect_cnf _ENTITY_PREFIXED(psa_l2r_connect_cnf) | |
596 #define psa_l2r_connect_ind _ENTITY_PREFIXED(psa_l2r_connect_ind) | |
597 #define psa_l2r_disc_cnf _ENTITY_PREFIXED(psa_l2r_disc_cnf) | |
598 #define psa_l2r_disc_ind _ENTITY_PREFIXED(psa_l2r_disc_ind) | |
599 #define psa_l2r_xid_ind _ENTITY_PREFIXED(psa_l2r_xid_ind) | |
600 #define psa_l2r_error_ind _ENTITY_PREFIXED(psa_l2r_error_ind) | |
601 #define psa_l2r_reset_ind _ENTITY_PREFIXED(psa_l2r_reset_ind) | |
602 #define psa_l2r_statistic_ind _ENTITY_PREFIXED(psa_l2r_statistic_ind) | |
603 #define psa_l2r_dti_cnf _ENTITY_PREFIXED(psa_l2r_dti_cnf) | |
604 #define psa_l2r_dti_ind _ENTITY_PREFIXED(psa_l2r_dti_ind) | |
605 #define psa_tra_activate_cnf _ENTITY_PREFIXED(psa_tra_activate_cnf) | |
606 #define psa_tra_deactivate_cnf _ENTITY_PREFIXED(psa_tra_deactivate_cnf) | |
607 #define psa_tra_dti_cnf _ENTITY_PREFIXED(psa_tra_dti_cnf) | |
608 #define psa_tra_dti_ind _ENTITY_PREFIXED(psa_tra_dti_ind) | |
609 | |
610 #ifdef UART | |
611 /* UART */ | |
612 #define psa_uart_parameters_cnf _ENTITY_PREFIXED(psa_uart_parameters_cnf) | |
613 #define psa_uart_parameters_ind _ENTITY_PREFIXED(psa_uart_parameters_ind) | |
614 #define psa_uart_dti_cnf _ENTITY_PREFIXED(psa_uart_dti_cnf) | |
615 #define psa_uart_dti_ind _ENTITY_PREFIXED(psa_uart_dti_ind) | |
616 #define psa_uart_disable_cnf _ENTITY_PREFIXED(psa_uart_disable_cnf) | |
617 #define psa_uart_ring_cnf _ENTITY_PREFIXED(psa_uart_ring_cnf) | |
618 #define psa_uart_dcd_cnf _ENTITY_PREFIXED(psa_uart_dcd_cnf) | |
619 #define psa_uart_break_cnf _ENTITY_PREFIXED(psa_uart_break_cnf) | |
620 #define psa_uart_break_ind _ENTITY_PREFIXED(psa_uart_break_ind) | |
621 #define psa_uart_error_ind _ENTITY_PREFIXED(psa_uart_error_ind) | |
622 #define psa_uart_mux_start_cnf _ENTITY_PREFIXED(psa_uart_mux_start_cnf) | |
623 #define psa_uart_mux_dlc_establish_ind _ENTITY_PREFIXED(psa_uart_mux_dlc_establish_ind) | |
624 #define psa_uart_mux_dlc_release_ind _ENTITY_PREFIXED(psa_uart_mux_dlc_release_ind) | |
625 #define psa_uart_mux_close_ind _ENTITY_PREFIXED(psa_uart_mux_close_ind) | |
626 #endif | |
627 | |
628 #if defined(FF_TCP_IP) || defined(FF_ESIM) | |
629 /* AAA */ | |
630 #define psa_aaa_cmd_req _ENTITY_PREFIXED(psa_aaa_cmd_req) | |
631 #define psa_aaa_open_port_req _ENTITY_PREFIXED(psa_aaa_open_port_req) | |
632 #define psa_aaa_close_port_req _ENTITY_PREFIXED(psa_aaa_close_port_req) | |
633 #define psa_aaa_dti_rsp _ENTITY_PREFIXED(psa_aaa_dti_rsp) | |
634 #define psa_aaa_disconnect_rsp _ENTITY_PREFIXED(psa_aaa_disconnect_rsp) | |
635 #endif | |
636 | |
637 #ifdef GPRS | |
638 /* GMMREG */ | |
639 #define psa_gmmreg_attach_cnf _ENTITY_PREFIXED(psa_gmmreg_attach_cnf) | |
640 #define psa_gmmreg_attach_rej _ENTITY_PREFIXED(psa_gmmreg_attach_rej) | |
641 #define psa_gmmreg_detach_cnf _ENTITY_PREFIXED(psa_gmmreg_detach_cnf) | |
642 #define psa_gmmreg_detach_ind _ENTITY_PREFIXED(psa_gmmreg_detach_ind) | |
643 #define psa_gmmreg_plmn_ind _ENTITY_PREFIXED(psa_gmmreg_plmn_ind) | |
644 #define psa_gmmreg_suspend_ind _ENTITY_PREFIXED(psa_gmmreg_suspend_ind) | |
645 #define psa_gmmreg_resume_ind _ENTITY_PREFIXED(psa_gmmreg_resume_ind) | |
646 #define psa_gmmreg_info_ind _ENTITY_PREFIXED(psa_gmmreg_info_ind) | |
647 #define psa_gmmreg_ciphering_ind _ENTITY_PREFIXED(psa_gmmreg_ciphering_ind) | |
648 #define psa_gmmreg_ahplmn_ind _ENTITY_PREFIXED(psa_gmmreg_ahplmn_ind) | |
649 | |
650 /* SMREG */ | |
651 #define psa_smreg_pdp_activate_cnf _ENTITY_PREFIXED(psa_smreg_pdp_activate_cnf) | |
652 #define psa_smreg_pdp_activate_rej _ENTITY_PREFIXED(psa_smreg_pdp_activate_rej) | |
653 #define psa_smreg_pdp_activate_ind _ENTITY_PREFIXED(psa_smreg_pdp_activate_ind) | |
654 #define psa_smreg_pdp_deactivate_cnf _ENTITY_PREFIXED(psa_smreg_pdp_deactivate_cnf) | |
655 #define psa_smreg_pdp_deactivate_ind _ENTITY_PREFIXED(psa_smreg_pdp_deactivate_ind) | |
656 #define psa_smreg_pdp_modify_ind _ENTITY_PREFIXED(psa_smreg_pdp_modify_ind) | |
657 | |
658 /* SN */ | |
659 #define psa_sn_count_cnf _ENTITY_PREFIXED(psa_sn_count_cnf) | |
660 #define psa_sn_switch_cnf _ENTITY_PREFIXED(psa_sn_switch_cnf) | |
661 | |
662 /* PPP */ | |
663 /* #define psa_ppp_establish_cnf _ENTITY_PREFIXED(psa_ppp_establish_cnf) */ | |
664 /* #define psa_ppp_terminate_ind _ENTITY_PREFIXED(psa_ppp_terminate_ind) */ | |
665 /* #define psa_ppp_pdp_activate_ind _ENTITY_PREFIXED(psa_ppp_pdp_activate_ind) */ | |
666 /* #define psa_ppp_modification_cnf _ENTITY_PREFIXED(psa_ppp_modification_cnf) */ | |
667 /* #define psa_ppp_dti_connected_ind _ENTITY_PREFIXED(psa_ppp_dti_connected_ind) */ | |
668 | |
669 #ifdef FF_PKTIO | |
670 #define psa_pkt_connect_ind _ENTITY_PREFIXED(psa_pkt_connect_ind) | |
671 #define psa_pkt_disconnect_ind _ENTITY_PREFIXED(psa_pkt_disconnect_ind) | |
672 #define psa_pkt_dti_open_cnf _ENTITY_PREFIXED(psa_pkt_dti_open_cnf) | |
673 #define psa_pkt_modify_cnf _ENTITY_PREFIXED(psa_pkt_modify_cnf) | |
674 #define psa_pkt_dti_close_cnf _ENTITY_PREFIXED(psa_pkt_dti_close_cnf) | |
675 #define psa_pkt_dti_close_ind _ENTITY_PREFIXED(psa_pkt_dti_close_ind) | |
676 #endif | |
677 | |
678 #endif /* GPRS */ | |
679 | |
680 #ifdef FF_PSI | |
681 #define psa_psi_conn_ind _ENTITY_PREFIXED(psa_psi_conn_ind) | |
682 #define psa_psi_disconn_ind _ENTITY_PREFIXED(psa_psi_disconn_ind) | |
683 #define psa_psi_close_cnf _ENTITY_PREFIXED(psa_psi_close_cnf) | |
684 #define psa_psi_setconf_cnf _ENTITY_PREFIXED(psa_psi_setconf_cnf) | |
685 #define psa_psi_dti_open_cnf _ENTITY_PREFIXED(psa_psi_dti_open_cnf) | |
686 #define psa_psi_dti_close_cnf _ENTITY_PREFIXED(psa_psi_dti_close_cnf) | |
687 #define psa_psi_dti_close_ind _ENTITY_PREFIXED(psa_psi_dti_close_ind) | |
688 #define psa_psi_line_state_cnf _ENTITY_PREFIXED(psa_psi_line_state_cnf) | |
689 #define psa_psi_line_state_ind _ENTITY_PREFIXED (psa_psi_line_state_ind) | |
690 #ifdef _SIMULATION_ | |
691 #define psa_psi_conn_ind_test _ENTITY_PREFIXED(psa_psi_conn_ind_test) | |
692 #endif /* _SIMULATION_ */ | |
693 #endif /*FF_PSI*/ | |
694 | |
695 /* PPP */ | |
696 #if defined (FF_WAP) || defined (GPRS) || defined (FF_TCP_IP) || defined(FF_GPF_TCPIP) || defined (FF_SAT_E) | |
697 #define psa_ppp_establish_cnf _ENTITY_PREFIXED(psa_ppp_establish_cnf) | |
698 #define psa_ppp_terminate_ind _ENTITY_PREFIXED(psa_ppp_terminate_ind) | |
699 #define psa_ppp_pdp_activate_ind _ENTITY_PREFIXED(psa_ppp_pdp_activate_ind) | |
700 #define psa_ppp_modification_cnf _ENTITY_PREFIXED(psa_ppp_modification_cnf) | |
701 #define psa_ppp_dti_connected_ind _ENTITY_PREFIXED(psa_ppp_dti_connected_ind) | |
702 #endif /* FF_WAP OR GPRS OR FF_TCP_IP OR FF_GPF_TCPIP OR (FF_SAT_E)*/ | |
703 | |
704 #if defined FF_EOTD | |
705 #define psa_mnlc_sms_meas_cnf _ENTITY_PREFIXED(psa_mnlc_sms_meas_cnf) | |
706 #endif /* FF_EOTD */ | |
707 | |
708 #endif /* OPTIO_MULTITHREAD */ | |
709 | |
710 EXTERN const void psa_sim_read_cnf ( T_SIM_READ_CNF * ); | |
711 EXTERN const void psa_sim_update_cnf ( T_SIM_UPDATE_CNF * ); | |
712 EXTERN const void psa_sim_read_record_cnf ( T_SIM_READ_RECORD_CNF * ); | |
713 EXTERN const void psa_sim_update_record_cnf ( T_SIM_UPDATE_RECORD_CNF * ); | |
714 EXTERN const void psa_sim_increment_cnf ( T_SIM_INCREMENT_CNF * ); | |
715 EXTERN const void psa_sim_verify_pin_cnf ( T_SIM_VERIFY_PIN_CNF * ); | |
716 EXTERN const void psa_sim_change_pin_cnf ( T_SIM_CHANGE_PIN_CNF * ); | |
717 EXTERN const void psa_sim_disable_pin_cnf ( T_SIM_DISABLE_PIN_CNF * ); | |
718 EXTERN const void psa_sim_enable_pin_cnf ( T_SIM_ENABLE_PIN_CNF * ); | |
719 EXTERN const void psa_sim_unblock_cnf ( T_SIM_UNBLOCK_CNF * ); | |
720 EXTERN const void psa_sim_sync_cnf ( T_SIM_SYNC_CNF * ); | |
721 EXTERN const void psa_sim_activate_cnf ( T_SIM_ACTIVATE_CNF * ); | |
722 EXTERN const void psa_sim_activate_ind ( T_SIM_ACTIVATE_IND * ); | |
723 EXTERN const void psa_sim_access_cnf ( T_SIM_ACCESS_CNF * ); | |
724 #ifdef SIM_TOOLKIT | |
725 EXTERN const void psa_sim_toolkit_ind ( T_SIM_TOOLKIT_IND * ); | |
726 EXTERN const void psa_sim_toolkit_cnf ( T_SIM_TOOLKIT_CNF * ); | |
727 EXTERN const void psa_sim_file_update_ind ( T_SIM_FILE_UPDATE_IND * ); | |
728 #ifdef FF_SAT_E | |
729 #ifdef UART | |
730 EXTERN const void psa_sim_bip_config_cnf ( T_SIM_BIP_CONFIG_CNF * ); | |
731 EXTERN const void psa_sim_bip_cnf ( T_SIM_BIP_CNF * ); | |
732 EXTERN const void psa_sim_dti_cnf ( T_SIM_DTI_CNF * ); | |
733 EXTERN const void psa_sim_dti_bip_ind ( T_SIM_DTI_BIP_IND * ); | |
734 #endif /* UART */ | |
735 #endif /* FF_SAT_E */ | |
736 EXTERN const void psa_sim_eventlist_cnf ( T_SIM_EVENTLIST_CNF *sim_eventlist_cnf ); | |
737 #endif /* SIM_TOOKIT */ | |
738 EXTERN const void psa_sim_mmi_insert_ind ( T_SIM_MMI_INSERT_IND * ); | |
739 EXTERN const void psa_sim_remove_ind ( T_SIM_REMOVE_IND * ); | |
740 | |
741 EXTERN const void psa_mmr_reg_cnf ( T_MMR_REG_CNF * ); | |
742 #ifdef FF_EM_MODE | |
743 EXTERN const void psa_em_sc_info_cnf ( T_EM_SC_INFO_CNF * ); | |
744 EXTERN const void psa_em_sc_gprs_info_cnf ( T_EM_SC_GPRS_INFO_CNF * ); | |
745 EXTERN const void psa_em_nc_info_cnf ( T_EM_NC_INFO_CNF * ); | |
746 EXTERN const void psa_em_loc_pag_info_cnf ( T_EM_LOC_PAG_INFO_CNF * ); | |
747 EXTERN const void psa_em_plmn_info_cnf ( T_EM_PLMN_INFO_CNF * ); | |
748 EXTERN const void psa_em_cip_hop_dtx_info_cnf ( T_EM_CIP_HOP_DTX_INFO_CNF * ); | |
749 EXTERN const void psa_em_power_info_cnf ( T_EM_POWER_INFO_CNF * ); | |
750 EXTERN const void psa_em_identity_info_cnf ( T_EM_IDENTITY_INFO_CNF * ); | |
751 EXTERN const void psa_em_sw_version_info_cnf ( T_EM_SW_VERSION_INFO_CNF * ); | |
752 EXTERN const void em_event_trace_ind ( T_EM_DATA_IND * em_data_ind); | |
753 EXTERN const void psa_em_gmm_info_cnf ( T_EM_GMM_INFO_CNF * ); | |
754 EXTERN const void psa_em_grlc_info_cnf ( T_EM_GRLC_INFO_CNF * ); | |
755 EXTERN const void psa_em_amr_info_cnf ( T_EM_AMR_INFO_CNF * ); | |
756 #endif /* FF_EM_MODE */ | |
757 EXTERN const void psa_mmr_nreg_cnf ( T_MMR_NREG_CNF * ); | |
758 EXTERN const void psa_mmr_nreg_ind ( T_MMR_NREG_IND * ); | |
759 EXTERN const void psa_mmr_plmn_ind ( T_MMR_PLMN_IND * ); | |
760 EXTERN const void psa_mmr_info_ind ( T_MMR_INFO_IND * ); | |
761 EXTERN const void psa_mmr_ciphering_ind ( T_MMR_CIPHERING_IND * ); | |
762 EXTERN const void psa_mmr_ahplmn_ind ( T_MMR_AHPLMN_IND * ); | |
763 | |
764 EXTERN const void psa_mncc_setup_ind ( T_MNCC_SETUP_IND * ); | |
765 EXTERN const void psa_mncc_setup_cnf ( T_MNCC_SETUP_CNF * ); | |
766 EXTERN const void psa_mncc_setup_compl_ind ( T_MNCC_SETUP_COMPL_IND * ); | |
767 EXTERN const void psa_mncc_reject_ind ( T_MNCC_REJECT_IND * ); | |
768 EXTERN const void psa_mncc_release_ind ( T_MNCC_RELEASE_IND * ); | |
769 EXTERN const void psa_mncc_release_cnf ( T_MNCC_RELEASE_CNF * ); | |
770 EXTERN const void psa_mncc_disconnect_ind ( T_MNCC_DISCONNECT_IND * ); | |
771 EXTERN const void psa_mncc_alert_ind ( T_MNCC_ALERT_IND * ); | |
772 EXTERN const void psa_mncc_call_proceed_ind ( T_MNCC_CALL_PROCEED_IND * ); | |
773 EXTERN const void psa_mncc_progress_ind ( T_MNCC_PROGRESS_IND * ); | |
774 EXTERN const void psa_mncc_hold_cnf ( T_MNCC_HOLD_CNF * ); | |
775 EXTERN const void psa_mncc_retrieve_cnf ( T_MNCC_RETRIEVE_CNF * ); | |
776 EXTERN const void psa_mncc_sync_ind ( T_MNCC_SYNC_IND * ); | |
777 EXTERN const void psa_mncc_user_ind ( T_MNCC_USER_IND * ); | |
778 EXTERN const void psa_mncc_start_dtmf_cnf ( T_MNCC_START_DTMF_CNF * ); | |
779 EXTERN const void psa_mncc_facility_ind ( T_MNCC_FACILITY_IND * ); | |
780 EXTERN const void psa_mncc_modify_ind ( T_MNCC_MODIFY_IND * ); | |
781 EXTERN const void psa_mncc_modify_cnf ( T_MNCC_MODIFY_CNF * ); | |
782 EXTERN const void psa_mncc_bearer_cap_cnf ( T_MNCC_BEARER_CAP_CNF * ); | |
783 EXTERN const void psa_mncc_prompt_ind ( T_MNCC_PROMPT_IND * ); | |
784 EXTERN const void psa_mncc_recall_ind ( T_MNCC_RECALL_IND * ); | |
785 EXTERN const void psa_mncc_status_ind ( T_MNCC_STATUS_IND * ); | |
786 | |
787 #if defined FF_EOTD | |
788 EXTERN const void psa_mnlc_sms_meas_cnf ( T_MNLC_SMS_MEAS_CNF * ); | |
789 #endif | |
790 | |
791 EXTERN const void psa_mnss_begin_ind (T_MNSS_BEGIN_IND *); | |
792 EXTERN const void psa_mnss_facility_ind (T_MNSS_FACILITY_IND *); | |
793 EXTERN const void psa_mnss_end_ind (T_MNSS_END_IND *); | |
794 | |
795 EXTERN const void psa_mnsms_delete_cnf (T_MNSMS_DELETE_CNF *); | |
796 EXTERN const void psa_mnsms_read_cnf (T_MNSMS_READ_CNF *); | |
797 EXTERN const void psa_mnsms_store_cnf (T_MNSMS_STORE_CNF *); | |
798 EXTERN const void psa_mnsms_submit_cnf (T_MNSMS_SUBMIT_CNF *); | |
799 EXTERN const void psa_mnsms_command_cnf (T_MNSMS_COMMAND_CNF *); | |
800 EXTERN const void psa_mnsms_report_ind (T_MNSMS_REPORT_IND *); | |
801 EXTERN const void psa_mnsms_status_ind (T_MNSMS_STATUS_IND *); | |
802 EXTERN const void psa_mnsms_message_ind (T_MNSMS_MESSAGE_IND *); | |
803 EXTERN const void psa_mnsms_error_ind (T_MNSMS_ERROR_IND *); | |
804 EXTERN const void psa_mnsms_resume_cnf (T_MNSMS_RESUME_CNF *); | |
805 EXTERN const void psa_mnsms_query_cnf (T_MNSMS_QUERY_CNF *); | |
806 #ifdef GPRS | |
807 EXTERN const void psa_mnsms_mo_serv_cnf (T_MNSMS_MO_SERV_CNF *); | |
808 #endif /* GPRS */ | |
809 #ifdef SIM_PERS_OTA | |
810 EXTERN const void psa_mnsms_OTA_decode_ind ( T_MNSMS_OTA_DECODE_IND * ); | |
811 #endif | |
812 | |
813 EXTERN const void psa_mmi_keypad_ind (T_MMI_KEYPAD_IND *); | |
814 EXTERN const void psa_mmi_rxlev_ind (T_MMI_RXLEV_IND *); | |
815 EXTERN const void psa_mmi_battery_ind (T_MMI_BATTERY_IND *); | |
816 EXTERN const void psa_mmi_cbch_ind (T_MMI_CBCH_IND *); | |
817 #ifdef BTE_MOBILE | |
818 EXTERN const void psa_mmi_bt_cb_notify_ind (T_MMI_BT_CB_NOTIFY_IND *); | |
819 #endif | |
820 #ifndef VOCODER_FUNC_INTERFACE | |
821 EXTERN const void psa_mmi_tch_vocoder_cfg_con(T_MMI_TCH_VOCODER_CFG_CON *); | |
822 #endif | |
823 | |
824 #ifdef SIM_TOOLKIT | |
825 EXTERN const void psa_sat_cbch_dnl_ind (T_MMI_SAT_CBCH_DWNLD_IND *); | |
826 #endif | |
827 | |
828 #ifdef FAX_AND_DATA | |
829 EXTERN const void psa_ra_activate_cnf (T_RA_ACTIVATE_CNF *); | |
830 EXTERN const void psa_ra_deactivate_cnf (T_RA_DEACTIVATE_CNF *); | |
831 | |
832 #ifdef FF_FAX | |
833 EXTERN const void psa_ra_modify_cnf (T_RA_MODIFY_CNF *); | |
834 | |
835 EXTERN const void psa_t30_cap_ind (T_T30_CAP_IND *); | |
836 EXTERN const void psa_t30_dti_cnf (T_T30_DTI_CNF *); | |
837 EXTERN const void psa_t30_dti_ind (T_T30_DTI_IND *); | |
838 EXTERN const void psa_t30_phase_ind (T_T30_PHASE_IND *); | |
839 EXTERN const void psa_t30_sgn_ind (T_T30_SGN_IND *); | |
840 EXTERN const void psa_t30_cmpl_ind (T_T30_CMPL_IND *); | |
841 EXTERN const void psa_t30_report_ind (T_T30_REPORT_IND *); | |
842 EXTERN const void psa_t30_error_ind (T_T30_ERROR_IND *); | |
843 EXTERN const void psa_t30_eol_ind (T_T30_EOL_IND *); | |
844 EXTERN const void psa_t30_deactivate_cnf (T_T30_DEACTIVATE_CNF *); | |
845 EXTERN const void psa_t30_activate_cnf (T_T30_ACTIVATE_CNF *); | |
846 EXTERN const void psa_t30_preamble_ind (T_T30_PREAMBLE_IND *); | |
847 #endif /* FF_FAX */ | |
848 | |
849 #ifdef BT_ADAPTER | |
850 EXTERN const void psa_btp_dti_ind( T_BTP_DTI_IND *); | |
851 EXTERN const void psa_btp_dti_cnf( T_BTP_DTI_IND *); | |
852 #endif /* BT_ADAPTER */ | |
853 | |
854 EXTERN const void psa_l2r_activate_cnf (T_L2R_ACTIVATE_CNF *); | |
855 EXTERN const void psa_l2r_deactivate_cnf (T_L2R_DEACTIVATE_CNF *); | |
856 EXTERN const void psa_l2r_connect_cnf (T_L2R_CONNECT_CNF *); | |
857 EXTERN const void psa_l2r_connect_ind (T_L2R_CONNECT_IND *); | |
858 EXTERN const void psa_l2r_disc_cnf (T_L2R_DISC_CNF *); | |
859 EXTERN const void psa_l2r_disc_ind (T_L2R_DISC_IND *); | |
860 EXTERN const void psa_l2r_xid_ind (T_L2R_XID_IND *); | |
861 EXTERN const void psa_l2r_error_ind (T_L2R_ERROR_IND *); | |
862 EXTERN const void psa_l2r_reset_ind (T_L2R_RESET_IND *); | |
863 EXTERN const void psa_l2r_statistic_ind (T_L2R_STATISTIC_IND *); | |
864 EXTERN const void psa_l2r_dti_cnf (T_L2R_DTI_CNF *); | |
865 EXTERN const void psa_l2r_dti_ind (T_L2R_DTI_IND *); | |
866 | |
867 EXTERN const void psa_tra_activate_cnf (T_TRA_ACTIVATE_CNF *); | |
868 EXTERN const void psa_tra_deactivate_cnf (T_TRA_DEACTIVATE_CNF *); | |
869 EXTERN const void psa_tra_dti_cnf (T_TRA_DTI_CNF *); | |
870 EXTERN const void psa_tra_dti_ind (T_TRA_DTI_IND *); | |
871 #endif /* FAX_AND_DATA */ | |
872 | |
873 #ifdef FF_GPF_TCPIP | |
874 EXTERN const void psa_tcpip_dti_cnf (T_TCPIP_DTI_CNF *); | |
875 EXTERN const void psa_tcpip_ifconfig_cnf (T_TCPIP_IFCONFIG_CNF *); | |
876 EXTERN const void psa_tcpip_initialize_cnf (T_TCPIP_INITIALIZE_CNF *); | |
877 EXTERN const void psa_tcpip_shutdown_cnf (T_TCPIP_SHUTDOWN_CNF * ); | |
878 #endif | |
879 | |
880 #ifdef CO_UDP_IP | |
881 EXTERN const void psa_udpa_dti_cnf (T_UDPA_DTI_CNF *); | |
882 EXTERN const void psa_udpa_dti_ind (T_UDPA_DTI_IND *); | |
883 EXTERN const void psa_udpa_config_cnf (T_UDPA_CONFIG_CNF *); | |
884 EXTERN const void psa_ipa_dti_cnf (T_IPA_DTI_CNF *); | |
885 EXTERN const void psa_ipa_dti_ind (T_IPA_DTI_IND *); | |
886 EXTERN const void psa_ipa_config_cnf (T_IPA_CONFIG_CNF *); | |
887 #endif | |
888 | |
889 #ifdef FF_WAP | |
890 EXTERN const void psa_wap_mmi_ind (T_WAP_MMI_IND *); | |
891 EXTERN const void psa_wap_mmi_req (T_WAP_MMI_REQ *); | |
892 EXTERN const void psa_wap_mmi_cnf (T_WAP_MMI_CNF *); | |
893 EXTERN const void psa_wap_dti_cnf (T_WAP_DTI_CNF *); | |
894 EXTERN const void psa_wap_dti_ind (T_WAP_DTI_IND *); | |
895 #endif | |
896 | |
897 #ifdef UART | |
898 /* UART */ | |
899 EXTERN const void psa_uart_parameters_cnf (T_UART_PARAMETERS_CNF *); | |
900 EXTERN const void psa_uart_parameters_ind (T_UART_PARAMETERS_IND *); | |
901 EXTERN const void psa_uart_escape_cnf (T_UART_ESCAPE_CNF *); | |
902 EXTERN const void psa_uart_dti_cnf (T_UART_DTI_CNF *); | |
903 EXTERN const void psa_uart_dti_ind (T_UART_DTI_IND *); | |
904 EXTERN const void psa_uart_detected_ind (T_UART_DETECTED_IND *); | |
905 EXTERN const void psa_uart_disable_cnf (T_UART_DISABLE_CNF *); | |
906 EXTERN const void psa_uart_ring_cnf (T_UART_RING_CNF *); | |
907 EXTERN const void psa_uart_dcd_cnf (T_UART_DCD_CNF *); | |
908 EXTERN const void psa_uart_mux_start_cnf (T_UART_MUX_START_CNF *); | |
909 EXTERN const void psa_uart_error_ind (T_UART_ERROR_IND *); | |
910 EXTERN const void psa_uart_mux_dlc_establish_ind (T_UART_MUX_DLC_ESTABLISH_IND *); | |
911 EXTERN const void psa_uart_mux_dlc_release_ind (T_UART_MUX_DLC_RELEASE_IND *); | |
912 EXTERN const void psa_uart_mux_close_ind (T_UART_MUX_CLOSE_IND *); | |
913 #endif | |
914 | |
915 #if defined(FF_TCP_IP) || defined (FF_ESIM) | |
916 /* AAA */ | |
917 EXTERN const void psa_aaa_cmd_req (T_AAA_CMD_REQ *); | |
918 EXTERN const void psa_aaa_open_port_req (T_AAA_OPEN_PORT_REQ *); | |
919 EXTERN const void psa_aaa_close_port_req (T_AAA_CLOSE_PORT_REQ *); | |
920 EXTERN const void psa_aaa_dti_rsp (T_AAA_DTI_RES *); | |
921 EXTERN const void psa_aaa_disconnect_rsp (T_AAA_DISCONNECT_RES *); | |
922 #endif | |
923 | |
924 #ifdef GPRS | |
925 /* GMMREG */ | |
926 EXTERN const void psa_gmmreg_attach_cnf (T_GMMREG_ATTACH_CNF *); | |
927 EXTERN const void psa_gmmreg_attach_rej (T_GMMREG_ATTACH_REJ *); | |
928 EXTERN const void psa_gmmreg_detach_cnf (T_GMMREG_DETACH_CNF *); | |
929 EXTERN const void psa_gmmreg_detach_ind (T_GMMREG_DETACH_IND *); | |
930 EXTERN const void psa_gmmreg_plmn_ind (T_GMMREG_PLMN_IND *); | |
931 EXTERN const void psa_gmmreg_suspend_ind (T_GMMREG_SUSPEND_IND *); | |
932 EXTERN const void psa_gmmreg_resume_ind (T_GMMREG_RESUME_IND *); | |
933 EXTERN const void psa_gmmreg_info_ind (T_GMMREG_INFO_IND *); | |
934 EXTERN const void psa_gmmreg_ciphering_ind (T_GMMREG_CIPHERING_IND *); | |
935 EXTERN const void psa_gmmreg_ahplmn_ind (T_GMMREG_AHPLMN_IND *); | |
936 | |
937 /* SMREG */ | |
938 EXTERN const void psa_smreg_pdp_activate_cnf (T_SMREG_PDP_ACTIVATE_CNF *); | |
939 EXTERN const void psa_smreg_pdp_activate_rej (T_SMREG_PDP_ACTIVATE_REJ *); | |
940 EXTERN const void psa_smreg_pdp_activate_ind (T_SMREG_PDP_ACTIVATE_IND *); | |
941 EXTERN const void psa_smreg_pdp_deactivate_cnf (T_SMREG_PDP_DEACTIVATE_CNF *); | |
942 EXTERN const void psa_smreg_pdp_deactivate_ind (T_SMREG_PDP_DEACTIVATE_IND *); | |
943 EXTERN const void psa_smreg_pdp_modify_ind (T_SMREG_PDP_MODIFY_IND *); | |
944 | |
945 /* SN */ | |
946 EXTERN const void psa_sn_count_cnf (T_SN_COUNT_CNF *); | |
947 EXTERN const void psa_sn_switch_cnf (T_SN_SWITCH_CNF *); | |
948 | |
949 #ifdef FF_PKTIO | |
950 EXTERN const void psa_pkt_connect_ind ( T_PKT_CONNECT_IND *); | |
951 EXTERN const void psa_pkt_disconnect_ind ( T_PKT_DISCONNECT_IND *); | |
952 EXTERN const void psa_pkt_dti_close_cnf ( T_PKT_DTI_CLOSE_CNF *); | |
953 EXTERN const void psa_pkt_dti_close_ind ( T_PKT_DTI_CLOSE_IND *); | |
954 EXTERN const void psa_pkt_dti_open_cnf ( T_PKT_DTI_OPEN_CNF *); | |
955 EXTERN const void psa_pkt_modify_cnf ( T_PKT_MODIFY_CNF *); | |
956 #endif | |
957 #endif /* GPRS */ | |
958 | |
959 #ifdef FF_PSI | |
960 EXTERN const void psa_psi_conn_ind ( T_PSI_CONN_IND *); | |
961 EXTERN const void psa_psi_disconn_ind ( T_PSI_DISCONN_IND *); | |
962 EXTERN const void psa_psi_dti_close_cnf ( T_PSI_DTI_CLOSE_CNF *); | |
963 EXTERN const void psa_psi_dti_close_ind ( T_PSI_DTI_CLOSE_IND *); | |
964 EXTERN const void psa_psi_dti_open_cnf ( T_PSI_DTI_OPEN_CNF *); | |
965 EXTERN const void psa_psi_close_cnf (T_PSI_CLOSE_CNF *); | |
966 EXTERN const void psa_psi_setconf_cnf (T_PSI_SETCONF_CNF *); | |
967 EXTERN const void psa_psi_line_state_cnf (T_PSI_LINE_STATE_CNF *); | |
968 EXTERN const void psa_psi_line_state_ind (T_PSI_LINE_STATE_IND *); | |
969 #ifdef _SIMULATION_ | |
970 EXTERN const void psa_psi_conn_ind_test ( T_PSI_CONN_IND_TEST *); | |
971 #endif /* _SIMULATION_ */ | |
972 #endif /*FF_PSI*/ | |
973 | |
974 /* PPP */ | |
975 #if defined (FF_WAP) || defined (GPRS) || defined (FF_TCP_IP) || defined(FF_GPF_TCPIP) || defined (FF_SAT_E) | |
976 EXTERN const void psa_ppp_establish_cnf (T_PPP_ESTABLISH_CNF *); | |
977 EXTERN const void psa_ppp_terminate_ind (T_PPP_TERMINATE_IND *); | |
978 EXTERN const void psa_ppp_dti_connected_ind (T_PPP_DTI_CONNECTED_IND *); | |
979 EXTERN const void psa_ppp_pdp_activate_ind (T_PPP_PDP_ACTIVATE_IND *); | |
980 EXTERN const void psa_ppp_modification_cnf (T_PPP_MODIFICATION_CNF *); | |
981 #endif /* FF_WAP or GPRS OR FF_TCP_IP OR FF_GPF_TCPIP OR || (FF_SAT_E) */ | |
982 | |
983 /*DCM*/ | |
984 #ifdef FF_GPF_TCPIP | |
985 EXTERN const void psa_dcm_open_conn_req(T_DCM_OPEN_CONN_REQ *); | |
986 EXTERN const void psa_dcm_close_conn_req(T_DCM_CLOSE_CONN_REQ *); | |
987 EXTERN const void psa_dcm_get_current_conn_req(T_DCM_GET_CURRENT_CONN_REQ *); | |
988 #endif | |
989 | |
990 #if defined FF_EOTD | |
991 EXTERN const void psa_mnlc_sms_meas_cnf (T_MNLC_SMS_MEAS_CNF *); | |
992 #endif /* FF_EOTD */ | |
993 /* | |
994 * UTILITY module | |
995 */ | |
996 | |
997 /* | |
998 * Prototypes Customer Specific Functions | |
999 */ | |
1000 | |
1001 /* | |
1002 * If all entities are linked into one module this definitions | |
1003 * prefixes all this functions with the enity name | |
1004 */ | |
1005 | |
1006 #define PSENDX(A,B) PSEND(hComm##A,B) | |
1007 | |
1008 #endif |