ofono/src
Nandini Rebello f36d6d05cc sim: Sim PIN1 cache upon modem reset/crash
Adding SIM PIN caching feature to oFono. oFono now caches the SIM PIN1
type against the ICCID throughout its lifetime in a link list and
enters implicitly upon modem reset/crash.

Note, that this behavior can violate 3GPP spec 21.111, section 5.3 -
User Data stored in ME if that section is interpreted very strictly.
However, our interpretation is that firmware resets are allowed, based
on historic precedent.  Helps in user experience by not barring out
cellular services unless pin is entered manually.

Handles cases of incorrect pin and sim pin changed externally.
Clear cached PIN incase modem disabled manually and selectively when
sim is removed.

Seperate 'pin_cache_enter_cb' added without dbus calls to handle
implict entering of cached pin.

For now this behavior is applicable to all modems by default.  In the
future it may be needed to make this behavior opt in or otherwise
configurable.
2019-01-23 17:44:31 -06:00
..
audio-settings.c audio-settings: Fix unneeded async for GetProperties 2013-02-25 12:21:35 -06:00
bluetooth.h bluetooth: Add define for SCO voice settings 2013-08-19 12:14:39 -05:00
call-barring.c call-barring: SS query is made with given cls 2012-09-05 15:03:38 -05:00
call-forwarding.c call-forwarding: SS query is made with given cls 2012-09-05 15:00:14 -05:00
call-meter.c Do not set signature and reply in GDBus tables 2012-05-20 02:47:57 -07:00
call-settings.c call-settings: Improve error reporting 2012-08-22 18:18:05 -05:00
call-volume.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
cbs.c cbs: use g_slist_free_full 2016-04-22 15:27:28 -05:00
cdma-connman.c cdma-connman: Make static analysis tools happy 2015-07-28 10:18:26 -05:00
cdma-netreg.c cdma-netreg: Fix emission of PropertyChanged 2018-03-16 10:24:57 -05:00
cdma-provision.c cdma-provision: Add driver APIs implementation 2012-01-07 12:39:58 -06:00
cdma-sms.c cdma-sms: Update to the new API declaration 2012-06-16 09:50:05 -05:00
cdma-smsutil.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
cdma-smsutil.h core: Update copyright information 2011-10-10 13:39:42 -07:00
cdma-voicecall.c Do not set signature and reply in GDBus tables 2012-05-20 02:47:57 -07:00
common.c common: Move proto and auth_method related helpers 2018-10-09 15:10:25 -05:00
common.h common: Move proto and auth_method related helpers 2018-10-09 15:10:25 -05:00
ctm.c ctm: Remove shadowing reply variable 2012-07-15 20:29:29 -03:00
dbus.c dbus: Add D-Bus mapping for OFONO_ERROR_TYPE_ERRNO 2018-06-28 11:35:10 -05:00
emulator.c emulator: Handle OFONO_ERROR_TYPE_ERRNO in switch 2018-06-28 11:35:10 -05:00
genbuiltin Use script to generate list of builtin plugin symbols 2009-08-24 19:05:41 -07:00
gnss.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
gnssagent.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
gnssagent.h core: Update copyright information 2011-10-10 13:39:42 -07:00
gprs-provision.c gprs,gprs-provision: add SPN to provisioning API 2011-02-08 21:48:54 -06:00
gprs.c gprs: Fix allocation of context id 2019-01-03 17:17:21 -06:00
handsfree-audio.c handsfree-audio: Add Acquire implementation 2017-05-04 12:34:31 -05:00
handsfree.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
hfp.h hfp: Add enum for known HF Indicators 2014-10-20 13:40:27 -05:00
history.c core: Update copyright information 2011-10-10 13:39:42 -07:00
ims.c ims: Rework initialization 2017-10-09 11:35:46 -05:00
location-reporting.c Do not set signature and reply in GDBus tables 2012-05-20 02:47:57 -07:00
log.c log: Fix style 2016-04-18 10:02:20 -05:00
lte.c lte: Add additional sanity checks for username/password 2018-10-22 11:46:08 -05:00
main.c main: Remove leftover HAVE_ELL conditions 2018-11-01 20:54:37 +01:00
manager.c manager: Fix up introspection data 2012-07-04 08:14:38 -05:00
message-waiting.c message-waiting: Fix reading EF_MWIS records 2015-07-16 20:22:38 -05:00
message.c Do not set signature and reply in GDBus tables 2012-05-20 02:47:57 -07:00
message.h message: add cancelled state 2011-03-18 18:31:14 -05:00
modem.c modem: global data is pre-zeroed 2018-10-29 14:04:50 -05:00
netmon.c dbus: Use dbus_validate_path 2018-01-18 10:53:28 -06:00
netmonagent.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
netmonagent.h netmonagent: fix unnecessary function declaration 2017-09-12 12:29:24 -05:00
nettime.c core: explicitly compare pointers to NULL 2010-11-29 13:27:15 -06:00
network.c network: allow drivers to generate more specific error codes 2017-12-05 22:06:44 -06:00
ofono.conf xmm7modem: modified ofono.conf for coex agent 2018-12-13 10:11:23 -06:00
ofono.h sim: Sim PIN1 cache upon modem reset/crash 2019-01-23 17:44:31 -06:00
ofono.service.in systemd: prevent duplicate logging messages in journal 2012-10-25 16:28:38 -07:00
ofono.ver Simplify linker script 2010-09-21 23:25:50 +09:00
phonebook.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
plugin.c plugin: Don't unload external plugins too early 2018-07-23 19:57:56 -05:00
private-network.c private-network: add initial implementation 2011-05-24 12:11:01 -05:00
radio-settings.c radio-settings: Fix typo in radio_band_umts_from_string 2017-06-29 09:11:11 -05:00
sim-auth.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
sim.c sim: Sim PIN1 cache upon modem reset/crash 2019-01-23 17:44:31 -06:00
simfs.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
simfs.h simfs: read files from specific AID's 2017-11-06 16:12:19 -06:00
simutil.c util: Switch character conversions to ell 2018-12-27 18:18:51 -06:00
simutil.h simutil: Add sim_app_record free 2018-02-28 11:08:16 -06:00
siri.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
sms.c sms: support 8 national lang in Alphabet property 2018-10-15 14:09:07 -05:00
smsagent.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
smsagent.h core: Update copyright information 2011-10-10 13:39:42 -07:00
smsutil.c util: Switch character conversions to ell 2018-12-27 18:18:51 -06:00
smsutil.h util: adding 8 national sms alphabets 2018-10-15 14:07:27 -05:00
stk.c stkutil: Use standard types 2018-12-29 15:26:37 -06:00
stkagent.c stkagent: Use bool instead of gboolean / ofono_bool_t 2018-12-28 13:47:41 -06:00
stkagent.h stkagent: Use bool instead of gboolean / ofono_bool_t 2018-12-28 13:47:41 -06:00
stkutil.c stkutil: Fix ofono_bool_t usage 2019-01-18 08:55:52 -06:00
stkutil.h stkutil: Use standard types 2018-12-29 15:26:37 -06:00
storage.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
storage.h storage: Include sys/types.h for ssize_t 2013-01-16 13:14:30 -08:00
ussd.c util: Use bool instead of gboolean 2018-12-27 18:18:51 -06:00
util.c util: Remove last glib uses 2018-12-27 18:18:51 -06:00
util.h util: Remove encode_hex 2018-12-27 18:18:51 -06:00
voicecall.c voicecall: Implement ofono_voicecall_get_modem 2018-06-25 10:26:26 -05:00
watch.c core: Update copyright information 2011-10-10 13:39:42 -07:00