FreeCalypso > hg > fc-magnetite
comparison src/g23m-gprs/gmm/gmm_kernf.h @ 183:219afcfc6250
src/g23m-gprs: initial import from TCS3.2/LoCosto
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 13 Oct 2016 04:24:13 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
182:f02d0a0e1849 | 183:219afcfc6250 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : GPRS (8441) | |
4 | Modul : gmm_kernf.h | |
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 gmm_kernf.c | |
18 +----------------------------------------------------------------------------- | |
19 */ | |
20 | |
21 | |
22 | |
23 #ifndef GMM_KERNF_H | |
24 #define GMM_KERNF_H | |
25 | |
26 | |
27 | |
28 EXTERN void kern_sim_gmm_update (void ); | |
29 EXTERN void kern_gmmreg_info_ind ( void ); | |
30 EXTERN void kern_gmmreg_detach ( UBYTE detach_type, | |
31 USHORT service, | |
32 UBYTE search_running, | |
33 USHORT cause); | |
34 EXTERN void kern_local_detach_open_proc (void ); | |
35 EXTERN void kern_local_detach ( USHORT error_cause, BOOL det_acc_sent, T_LOCAL_DETACH_PROC local_detach_open_proc ); | |
36 | |
37 EXTERN void kern_init ( void ); | |
38 | |
39 | |
40 | |
41 EXTERN void kern_attach_reset ( void ); | |
42 | |
43 | |
44 EXTERN void kern_mm_imsi_detach ( void ); | |
45 EXTERN void kern_mm_imsi_detach_ind ( USHORT error_cause, BOOL perform_detach, UBYTE detach_type ); | |
46 EXTERN void kern_mm_cm_establish_res ( UBYTE cm_establish_res ); | |
47 EXTERN void kern_mm_cm_emergency_res ( UBYTE cm_emergency_res ); | |
48 | |
49 EXTERN void kern_mm_lau ( void ); | |
50 | |
51 EXTERN void kern_mm_set_state ( UBYTE state); | |
52 EXTERN void kern_set_rau_timer ( T_rau_timer rau_timer ); | |
53 | |
54 EXTERN void kern_mm_start_t3212 ( void ); | |
55 | |
56 EXTERN void kern_tmsi_negotiated ( BOOL v_tmsi, | |
57 T_mobile_identity *tmsi, | |
58 BOOL v_ptmsi, | |
59 T_gmobile_identity *ptmsi, | |
60 BOOL v_ptmsi_signature, | |
61 T_p_tmsi_signature *p_tmsi_signature | |
62 ); | |
63 | |
64 EXTERN void kern_local_attach ( T_TLLI_TYPE new_tlli_type, | |
65 T_TLLI_TYPE old_tlli_type ); | |
66 EXTERN void kern_gmmrr_assign ( void ); | |
67 | |
68 | |
69 EXTERN ULONG kern_get_tmsi (T_mobile_identity * mobile_identity); | |
70 | |
71 EXTERN void kern_get_mobile_identity ( | |
72 UBYTE type_of_identity, | |
73 T_gmobile_identity* gmobile_identity ); | |
74 EXTERN void kern_ulong2mobile_identity ( ULONG ptmsi, | |
75 T_gmobile_identity* gmobile_identity ); | |
76 | |
77 EXTERN BOOL kern_lau_needed ( void ); | |
78 EXTERN BOOL kern_cell_changed ( void ); | |
79 EXTERN BOOL kern_lai_changed ( void ); | |
80 EXTERN BOOL kern_rai_changed ( void ); | |
81 EXTERN BOOL kern_ra_crossed ( void ); | |
82 EXTERN BOOL kern_plmn_changed ( void ); | |
83 EXTERN void kern_set_rai ( T_routing_area_identification * rai); | |
84 EXTERN void kern_get_imeisv (T_gmobile_identity *imei); | |
85 EXTERN void kern_read_imsi (T_SIM_GMM_INSERT_IND *sim_gmm_insert_ind); | |
86 EXTERN void kern_read_pcm ( void ); | |
87 EXTERN void kern_gmmrr_suspend ( UBYTE susp_gprs, UBYTE gmmrr_susp_cause, UBYTE susp_type); | |
88 EXTERN void kern_mm_activate_mm ( void ); | |
89 EXTERN void kern_gmmreg_attach_cnf ( UBYTE attach_type); | |
90 EXTERN void kern_gmmreg_attach_cnf_sr ( UBYTE attach_type, UBYTE search_running); | |
91 EXTERN void kern_mmgmmreg_attach_cnf ( UBYTE attach_type, UBYTE search_running, | |
92 T_MMGMM_REG_CNF * mmgmm_reg_cnf ); | |
93 EXTERN void kern_disable (void); | |
94 EXTERN void kern_llgmm_unassign (void ); | |
95 EXTERN void kern_llgmm_suspend (UBYTE susp_cause); | |
96 | |
97 EXTERN void kern_gmmsm_establich_rej ( void ); | |
98 EXTERN void kern_llgmm_assign ( void ); | |
99 EXTERN void kern_llgmm_resume ( void ); | |
100 EXTERN void kern_llgmm_assign_tlli ( T_TLLI_TYPE new_tlli_type, | |
101 T_TLLI_TYPE old_tlli_type ); | |
102 EXTERN void kern_mm_activate_rr ( void ); | |
103 EXTERN void kern_mm_reg_req ( U8 reg_type, U8 bootup_act ); | |
104 | |
105 EXTERN void kern_gmmrr_disable ( void ); | |
106 EXTERN void kern_gmmrr_enable ( void ); | |
107 | |
108 EXTERN void kern_mm_net_req ( void ); | |
109 EXTERN void kern_mm_detach_started ( void ); | |
110 EXTERN void kern_mm_attach_started ( void ); | |
111 EXTERN void kern_mm_auth_rej ( void ); | |
112 EXTERN void kern_mm_attach_rej ( USHORT error_cause ); | |
113 EXTERN void kern_mm_attach_acc ( BOOL v_mobile_identity, T_mobile_identity * mobile_identity, /* TCS 2.1 */ | |
114 BOOL v_eqv_plmn_list, T_eqv_plmn_list * eqv_plmn_list ); /* TCS 2.1 */ | |
115 EXTERN void kern_sim_authentication_req ( UBYTE rand[MAX_RAND], UBYTE cksn ); | |
116 EXTERN void kern_sim_del_locigprs ( void ); | |
117 EXTERN void kern_set_loc_info (T_SIM_GMM_UPDATE_REQ *sim_gmm_update_req); | |
118 EXTERN void kern_set_kc_cksn (T_SIM_GMM_UPDATE_REQ *sim_gmm_update_req); | |
119 EXTERN void kern_read_loc_info (T_SIM_GMM_INSERT_IND *sim_gmm_insert_ind); | |
120 EXTERN void kern_read_kc_cksn (T_SIM_GMM_INSERT_IND *sim_gmm_insert_ind); | |
121 EXTERN void kern_gmmrr_stop_waiting_for_transmission (void); | |
122 EXTERN void kern_gmmrr_attach_started (void); | |
123 EXTERN void kern_gmmrr_attach_finished (void); | |
124 EXTERN BOOL kern_is_cell_forbidden (void); | |
125 EXTERN void kern_remove_plmn_from_forbidden_list (T_plmn plmn); | |
126 EXTERN void kern_send_gmmreg_cell_ind (void); | |
127 EXTERN void kern_send_llgmm_trigger_req(void); | |
128 EXTERN void kern_attach_rau_init (void); | |
129 EXTERN void kern_build_ms_network_capability (T_ms_network_capability *ms_network_capability); | |
130 | |
131 EXTERN USHORT kern_make_cause (BOOL cause_valid, UBYTE network_cause); | |
132 EXTERN void kern_call_undone_mm_proc_der ( void ); | |
133 EXTERN void kern_call_undone_mm_proc_reg ( void ); | |
134 #ifdef GMM_TCS4 | |
135 EXTERN T_CAUSE_ps_cause kern_make_new_cause ( void ); | |
136 #endif | |
137 EXTERN void kern_reset_cipher ( void ); | |
138 #endif /* !GMM_KERNF_H */ | |
139 |