view src/aci2/mfw/mfw_phbi.h @ 662:8cd8fd15a095

SIM speed enhancement re-enabled and made configurable TI's original code supported SIM speed enhancement, but Openmoko had it disabled, and OM's disabling of speed enhancement somehow caused certain SIM cards to start working which didn't work before (OM's bug #666). Because our FC community is much smaller in year 2020 than OM's community was in their day, we are not able to find one of those #666-affected SIMs, thus the real issue they had encountered remains elusive. Thus our solution is to re-enable SIM speed enhancement and simply wait for if and when someone runs into a #666-affected SIM once again. We provide a SIM_allow_speed_enhancement global variable that allows SIM speed enhancement to be enabled or disabled per session, and an /etc/SIM_spenh file in FFS that allows it to enabled or disabled on a non-volatile basis. SIM speed enhancement is now enabled by default.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 May 2020 05:02:28 +0000
parents 93999a60b835
children
line wrap: on
line source

/*
+--------------------------------------------------------------------+
| PROJECT:  GSM-MFW (8417)              $Workfile:: mfw_phbi.h       $|
| $Author:: Vo                          $Revision::  1              $|
| CREATED:  7.1.99                      $Modtime:: 12.01.00 11:26   $|
| STATE  :  code                                                     |
+--------------------------------------------------------------------+

	PURPOSE :  Internal types defination for phonebook management
    . 
*/ 

#ifndef DEF_MFW_PHBI
#define DEF_MFW_PHBI

/*
 *  PHB Control Block
 */
typedef struct
{
    T_MFW_EVENT     emask;          /* events of interest */
    T_MFW_EVENT     event;          /* current event */
    T_MFW_CB        handler;
    T_MFW_PHB_PARA  para;
} T_MFW_PHB;

EXTERN BOOL     phb_sign_exec            (T_MFW_HDR * hdr,
                                          T_MFW_EVENT event, 
                                          T_MFW_PHB_PARA *para);
EXTERN void     phb_ok_clck              (void);
EXTERN void     phb_error_clck           (void);
EXTERN T_MFW_PHB_TON phb_cvtTon          (T_ACI_TOA_TON ton);
EXTERN T_MFW_PHB_TON phb_cvtNpi          (T_ACI_TOA_NPI npi);
EXTERN T_ACI_TOA_TON phb_ncvtTon         (T_MFW_PHB_TON ton);
EXTERN T_ACI_TOA_NPI phb_ncvtNpi         (T_MFW_PHB_TON npi);
EXTERN void     phb_read_upn_eeprom      (void);

#endif