comparison src/ui/mfw/mfw_sim.h @ 188:92abb46dc1ba

src/ui/mfw/*.[ch]: rm trailing white space
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 19 Jan 2021 06:10:27 +0000
parents 67bfe9f274f6
children
comparison
equal deleted inserted replaced
187:a33dd8a5dcc9 188:92abb46dc1ba
8 History: 8 History:
9 9
10 Apr 03, 2007 ER: OMAPS00122561 x0pleela 10 Apr 03, 2007 ER: OMAPS00122561 x0pleela
11 Description: [ACI] Phone lock feature has to be supported by ACI 11 Description: [ACI] Phone lock feature has to be supported by ACI
12 Solution: Phone Lock ER implementation 12 Solution: Phone Lock ER implementation
13 13
14 Sep 26, 2006 DR: OMAPS00095524 x0pleela 14 Sep 26, 2006 DR: OMAPS00095524 x0pleela
15 Description:Implement 2 missing SIM Lock types 15 Description:Implement 2 missing SIM Lock types
16 Solution: Made the following changes 16 Solution: Made the following changes
17 - Added new macros MFW_SIM_PBLOCK_REQ, MFW_SIM_PBLOCK for 17 - Added new macros MFW_SIM_PBLOCK_REQ, MFW_SIM_PBLOCK for
18 Blocked Network category 18 Blocked Network category
19 19
20 xashmic 9 Sep 2006, OMAPS00092732 20 xashmic 9 Sep 2006, OMAPS00092732
21 USBMS ER 21 USBMS ER
22 Sep 08, 2006 DR: OMAPS00091250 x0pleela 22 Sep 08, 2006 DR: OMAPS00091250 x0pleela
23 Description:The phone resets if no MEPD data is presented 23 Description:The phone resets if no MEPD data is presented
24 Solution: Added a new event MFW_MEPD_INVALID which will be returned to BMI 24 Solution: Added a new event MFW_MEPD_INVALID which will be returned to BMI
28 Description: OMAPS00087586: MasterKey funtion in TCS3.2 SW 28 Description: OMAPS00087586: MasterKey funtion in TCS3.2 SW
29 OMAPS00087587: Time Penaly feature extend handset security 29 OMAPS00087587: Time Penaly feature extend handset security
30 Solution:Made the following changes 30 Solution:Made the following changes
31 Defined new macros MFW_SIM_MKEY( Master Unlocking during bootup) 31 Defined new macros MFW_SIM_MKEY( Master Unlocking during bootup)
32 MFW_SIM_MKEYM (Master Unlocking through menu) 32 MFW_SIM_MKEYM (Master Unlocking through menu)
33 33
34 May 26, 2006 ER: OMAPS00079607 x0012849 :Jagannatha M 34 May 26, 2006 ER: OMAPS00079607 x0012849 :Jagannatha M
35 Description: CPHS: Display 'charge/Timers' menu based on AOC ( Advice of charge ) 35 Description: CPHS: Display 'charge/Timers' menu based on AOC ( Advice of charge )
36 Solution:Made the following changes 36 Solution:Made the following changes
37 1. Defined MFW_SIM_NO_AOC with value 11 37 1. Defined MFW_SIM_NO_AOC with value 11
38 38
39 May 15, 2006 DR: OMAPS00067919 x0pleela 39 May 15, 2006 DR: OMAPS00067919 x0pleela
40 Description: SIMP:On repeat Depersonalisation with invalid password MEPD unblock key should 40 Description: SIMP:On repeat Depersonalisation with invalid password MEPD unblock key should
41 be asked not Puk1. 41 be asked not Puk1.
42 Solution:Made the following changes 42 Solution:Made the following changes
43 1. Added new macro BOOTUP_OK 43 1. Added new macro BOOTUP_OK
44 2. Added new enumeration T_MFW_SIMP_CLCK_FLAG 44 2. Added new enumeration T_MFW_SIMP_CLCK_FLAG
45 45
46 Nov 24, 2005 DR: OMAPS00045909 - Shashi Shekar B.S. 46 Nov 24, 2005 DR: OMAPS00045909 - Shashi Shekar B.S.
47 Description: Improve IMEI control mechanism 47 Description: Improve IMEI control mechanism
48 Solution : When MMI calls sAT_PLUSCFUN, if an IMEI invalid error is returned, 48 Solution : When MMI calls sAT_PLUSCFUN, if an IMEI invalid error is returned,
49 we will block on that screen & will not allow the user to browse menus further, 49 we will block on that screen & will not allow the user to browse menus further,
50 since the PS will not be booted at all!!! 50 since the PS will not be booted at all!!!
51 51
52 July 19, 2005 REF: CRR LOCOSTO-ENH-28173 xpradipg 52 July 19, 2005 REF: CRR LOCOSTO-ENH-28173 xpradipg
53 Description: To provide MMI Support to enable/disable/change password and 53 Description: To provide MMI Support to enable/disable/change password and
54 query all the Personalization locks 54 query all the Personalization locks
55 Solution: Integration of the changes for the same provided by the soldel 55 Solution: Integration of the changes for the same provided by the soldel
56 team 56 team
57 57
58 *********************************************************************** 58 ***********************************************************************
59 59
60 PURPOSE: Types definitions for SIM management of MMI framework 60 PURPOSE: Types definitions for SIM management of MMI framework
61 61
62 */ 62 */
63 63
64 #ifndef DEF_MFW_SIM 64 #ifndef DEF_MFW_SIM
65 #define DEF_MFW_SIM 65 #define DEF_MFW_SIM
66 66
67 /*#ifndef BMI_TEST_MC_SIM_EVENT 67 /*#ifndef BMI_TEST_MC_SIM_EVENT
68 #define BMI_TEST_MC_SIM_EVENT 68 #define BMI_TEST_MC_SIM_EVENT
69 #endif*/ 69 #endif*/
70 70
176 #define MFW_SIM_PBLOCK_REQ 18 //x0pleela 25 Sep, 2006 ER: OMAPS00095524 176 #define MFW_SIM_PBLOCK_REQ 18 //x0pleela 25 Sep, 2006 ER: OMAPS00095524
177 #endif 177 #endif
178 #define MFW_SIM_NO_DISABLE 10 /*MC CONQ-5578, PIN disabling forbidden*/ 178 #define MFW_SIM_NO_DISABLE 10 /*MC CONQ-5578, PIN disabling forbidden*/
179 //x0012849: Jagannatha 26 May, 2006 ER: OMAPS00079607 -Support AOC in CPHS 179 //x0012849: Jagannatha 26 May, 2006 ER: OMAPS00079607 -Support AOC in CPHS
180 #ifdef FF_CPHS 180 #ifdef FF_CPHS
181 #define MFW_SIM_NO_AOC 11 181 #define MFW_SIM_NO_AOC 11
182 #endif 182 #endif
183 /* Shashi Shekar B.S. DR: OMAPS00045909, Improve IMEI control mechanism */ 183 /* Shashi Shekar B.S. DR: OMAPS00045909, Improve IMEI control mechanism */
184 #define MFW_IMEI_NOT_VALID 20 184 #define MFW_IMEI_NOT_VALID 20
185 185
186 186
187 #define MFW_SIM_PIN1 1 187 #define MFW_SIM_PIN1 1
188 #define MFW_SIM_PUK1 2 188 #define MFW_SIM_PUK1 2
189 #define MFW_SIM_PIN2 3 189 #define MFW_SIM_PIN2 3
218 #ifdef SIM_PERS 218 #ifdef SIM_PERS
219 typedef enum 219 typedef enum
220 { 220 {
221 SIMP_NONE, 221 SIMP_NONE,
222 SIMP_MENU, 222 SIMP_MENU,
223 SIMP_BOOTUP 223 SIMP_BOOTUP
224 }T_MFW_SIMP_CLCK_FLAG; 224 }T_MFW_SIMP_CLCK_FLAG;
225 225
226 #endif 226 #endif
227 227
228 /* 228 /*
236 236
237 #ifdef SIM_PERS 237 #ifdef SIM_PERS
238 extern int C_KEY_REQ; 238 extern int C_KEY_REQ;
239 #endif 239 #endif
240 240
241 int sim_init (void); 241 int sim_init (void);
242 MfwHnd sim_create (MfwHnd hWin, MfwEvt event, MfwCb cbfunc); 242 MfwHnd sim_create (MfwHnd hWin, MfwEvt event, MfwCb cbfunc);
243 MfwRes sim_delete (MfwHnd h); 243 MfwRes sim_delete (MfwHnd h);
244 void sim_verify_pin (UBYTE pin_id, char *pin); 244 void sim_verify_pin (UBYTE pin_id, char *pin);
245 void sim_unblock_pin (UBYTE pin_id, char *puk, char *newpin); 245 void sim_unblock_pin (UBYTE pin_id, char *puk, char *newpin);
246 void sim_change_pin (UBYTE pin_id, UBYTE *alt_pin, UBYTE *new_pin); 246 void sim_change_pin (UBYTE pin_id, UBYTE *alt_pin, UBYTE *new_pin);
268 void mfwSimRestartPinEntry(void); 268 void mfwSimRestartPinEntry(void);
269 //xashmic 9 Sep 2006, OMAPS00092732 269 //xashmic 9 Sep 2006, OMAPS00092732
270 void sim_enable(void); 270 void sim_enable(void);
271 void sim_disable(void); 271 void sim_disable(void);
272 272
273 /* 273 /*
274 Ciphering 274 Ciphering
275 */ 275 */
276 276
277 // CPRImode : 277 // CPRImode :
278 #define MFW_SIM_CPRI_NO_SHOW 0 278 #define MFW_SIM_CPRI_NO_SHOW 0
279 #define MFW_SIM_CPRI_SHOW 1 279 #define MFW_SIM_CPRI_SHOW 1
280 280
281 //Callback function 281 //Callback function
282 typedef void (* CallbackCPRI)(UBYTE, UBYTE); 282 typedef void (* CallbackCPRI)(UBYTE, UBYTE);
283 283
284 //Initialize the ciphering indication 284 //Initialize the ciphering indication
285 EXTERN UBYTE sim_init_CPRS (CallbackCPRI func, UBYTE CPRImode ); 285 EXTERN UBYTE sim_init_CPRS (CallbackCPRI func, UBYTE CPRImode );
286 //TISH, patch for ASTec32515, modified by Jinshu Wang, 2007-06-15 286 //TISH, patch for ASTec32515, modified by Jinshu Wang, 2007-06-15
287 //start 287 //start