FreeCalypso > hg > fc-magnetite
comparison src/g23m-gsm/mm/mm_gprs.h @ 104:27a4235405c6
src/g23m-gsm: import from LoCosto source
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 04 Oct 2016 18:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
103:76d139c7a25e | 104:27a4235405c6 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : GSM-PS (8410) | |
4 | Modul : MM | |
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 GPRS functionality of MM | |
18 +----------------------------------------------------------------------------- | |
19 */ | |
20 | |
21 #ifndef MM_GPRS_H | |
22 #define MM_GPRS_H | |
23 | |
24 #ifdef GPRS | |
25 | |
26 /*==== CONSTANTS ===========================================================*/ | |
27 | |
28 /*==== TYPES ===============================================================*/ | |
29 | |
30 /*==== EXPORT ==============================================================*/ | |
31 | |
32 /* | |
33 * Prototypes for the primitive interface MMGMM (GMM to MM) | |
34 */ | |
35 EXTERN void mm_mmgmm_reg_req | |
36 (const T_MMGMM_REG_REQ *mmgmm_reg_req); | |
37 | |
38 EXTERN void mm_mmgmm_nreg_req | |
39 (const T_MMGMM_NREG_REQ *mmgmm_nreg_req); | |
40 | |
41 EXTERN void mm_mmgmm_net_req | |
42 (const T_MMGMM_NET_REQ *mmgmm_net_req); | |
43 | |
44 EXTERN void mm_mmgmm_plmn_res | |
45 (const T_MMGMM_PLMN_RES *mmgmm_plmn_res); | |
46 | |
47 EXTERN void mm_mmgmm_plmn_mode_req | |
48 (const T_MMGMM_PLMN_MODE_REQ *mmgmm_plmn_mode_req); | |
49 | |
50 EXTERN void mm_mmgmm_auth_rej_req | |
51 (const T_MMGMM_AUTH_REJ_REQ *mmgmm_auth_rej_req); | |
52 | |
53 EXTERN void mm_mmgmm_cm_establish_res | |
54 (const T_MMGMM_CM_ESTABLISH_RES *est_res); | |
55 | |
56 EXTERN void mm_mmgmm_attach_started_req | |
57 (const T_MMGMM_ATTACH_STARTED_REQ *start_req); | |
58 | |
59 EXTERN void mm_mmgmm_attach_acc_req | |
60 (const T_MMGMM_ATTACH_ACC_REQ *mmgmm_attach_acc_req); | |
61 | |
62 EXTERN void mm_mmgmm_attach_rej_req | |
63 (const T_MMGMM_ATTACH_REJ_REQ *mmgmm_attach_rej_req); | |
64 | |
65 EXTERN void mm_mmgmm_detach_started_req | |
66 (const T_MMGMM_DETACH_STARTED_REQ *det_start_req); | |
67 | |
68 EXTERN void mm_mmgmm_start_t3212_req | |
69 (const T_MMGMM_START_T3212_REQ *start_t3212_req); | |
70 | |
71 EXTERN void mm_mmgmm_cm_emergency_res | |
72 (const T_MMGMM_CM_EMERGENCY_RES *emerge_res); | |
73 | |
74 EXTERN void mm_mmgmm_allowed_req | |
75 (const T_MMGMM_ALLOWED_REQ *allowed_req); | |
76 | |
77 EXTERN void mm_mmgmm_trigger_req | |
78 (const T_MMGMM_TRIGGER_REQ *trigger_req); | |
79 | |
80 /* | |
81 * Prototypes from mm_gprs.c. This is the functional interface in GMM to MM | |
82 * direction. Here all the function prototypes which are needed for GPRS | |
83 * only are defined. | |
84 */ | |
85 EXTERN void mm_func_mmgmm_auth_rej_req (void); | |
86 EXTERN void mm_func_mmgmm_cm_establish_res (UBYTE cm_establish_res); | |
87 EXTERN void mm_func_mmgmm_attach_started_req (void); | |
88 EXTERN void mm_func_mmgmm_attach_acc_req (const T_plmn *plmn, | |
89 USHORT lac, | |
90 UBYTE v_mobile_identity, | |
91 ULONG mobile_identity, | |
92 UBYTE v_equ_plmn_list, | |
93 const T_equ_plmn_list *equ_plmn_list); | |
94 EXTERN void mm_func_mmgmm_attach_rej_req (USHORT cs); | |
95 EXTERN void mm_func_mmgmm_detach_started_req (void); | |
96 EXTERN void mm_func_mmgmm_start_t3212_req (void); | |
97 EXTERN void mm_func_mmgmm_cm_emergency_res (UBYTE cm_establish_res); | |
98 EXTERN void mm_func_mmgmm_allowed_req (UBYTE v_equ_plmn_list, | |
99 const T_equ_plmn_list *equ_plmn_list); | |
100 EXTERN void mm_func_mmgmm_trigger_req (void); | |
101 | |
102 /* | |
103 * Other prototypes from mm_gprs.c | |
104 */ | |
105 EXTERN void mm_gprs_update_req (void); | |
106 EXTERN void mm_network_initiated_detach (USHORT cs); | |
107 EXTERN void mm_sim_removed_gprs_active (void); | |
108 | |
109 /* | |
110 * If all entities are linked into one module this definitions | |
111 * prefixes the global data with the enity name | |
112 */ | |
113 #ifdef OPTION_MULTITHREAD | |
114 #define hCommGMM _ENTITY_PREFIXED(hCommGMM) | |
115 #endif /* OPTION_MULTITHREAD */ | |
116 | |
117 EXTERN T_HANDLE hCommGMM; /* GMM Communication */ | |
118 | |
119 #endif /* GPRS */ | |
120 | |
121 #endif /* MM_GPRS_H */ |