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