Commit Graph

989 Commits

Author SHA1 Message Date
Mikel Astiz c9d3ce5c22 hfp_hf: Fix modifying hash table while iterating
Calling ofono_remove_modem() while iterating the hash table is not safe
given that it can modify the table in hfp_remove().

A simple way to reproduce the problem is to pair some Bluetooth phones
and remove the Bluetooth adapter, triggering a GLib-CRITICAL assertion.

This patch just removes the update of the hash table inside
hfp_remove(). This can be safe as long as all calls to
ofono_modem_remove() are accompanied by a hash table update. The only
example of this kind right now is hfp_agent_release().
2012-04-19 07:41:27 -05:00
Guillaume Zajac a3fc044be4 zte: Update to new sim_state_query API 2012-04-18 04:08:44 -05:00
Guillaume Zajac 8d92f0394f speedup: Update to new sim_state_query API 2012-04-18 04:08:29 -05:00
Guillaume Zajac 1d2432ac85 samsung: Update to new sim_state_query API 2012-04-18 04:08:15 -05:00
Guillaume Zajac fd5e7ed37e mbm: Update to new sim_state_query API 2012-04-18 04:08:02 -05:00
Guillaume Zajac 1666a5d2f2 alcatel: Update to new sim_state_query API 2012-04-18 04:07:43 -05:00
Bertrand Aygon ab6be24c58 speedup: enable online/offline support
Add speedup_set_online.
Add a polling mechanism since most speedup dongles failed in couple of
AT commands following the CFUN=1 when they are offline.
Cleanup online polling in case modem is removed during online process.
2012-04-18 04:02:43 -05:00
Nicolas Bertrand eb8645e6f5 speedup: Use speedup specific driver for ussd 2012-04-17 03:11:00 -05:00
Bertrand Aygon de29df012f Add udev rules for SpeedUp U3501 2012-04-06 09:32:15 -05:00
Marcel Holtmann c23d4c7823 icera: Add skeleton for Icera modem plugin 2012-04-06 16:28:35 +02:00
Marcel Holtmann 19b187a654 udev: Add detection support for Icera based devices 2012-04-06 16:19:36 +02:00
Bertrand Aygon 27992cd9a6 zte: Add support for radio settings 2012-03-26 16:51:24 -05:00
Marcel Holtmann 9abf49fa2b udev: Only detect Sierra Wireless devices with DirectIP 2012-03-21 21:17:33 -07:00
Marcel Holtmann 1605dbadb4 sierra: Add support for DirectIP connections 2012-03-21 21:13:52 -07:00
Renat Zaripov edd6634fce sim900: Add ussd and voice call support 2012-03-13 21:31:21 -05:00
Renat Zaripov e98bdcffc2 sim900: Use SIMCOM quirk for SMS atom 2012-02-27 20:30:28 -06:00
Neil Jerram fb43a32743 hso: Don't access freed data, in hso_set_online 2012-02-27 15:16:37 -08:00
Denis Kenzior f1fde3c33f sim900: Fix minor coding style violation 2012-02-22 04:16:56 -06:00
Renat Zaripov cdfcd6f55b sim900: Add support for PIN retry counters 2012-02-22 04:16:05 -06:00
Marcel Holtmann 1a5895f428 udev: Remove empty line 2012-02-18 13:26:26 +01:00
Marcel Holtmann ef3ea60913 udev: Add support for detecting Sierra network interfaces 2012-02-18 13:18:53 +01:00
Marcel Holtmann d61e815c7f hso: Open modem port to log extra notifications 2012-02-18 13:02:42 +01:00
Marcel Holtmann efaf74a9fa udev: Also detect modem port of Option HSO devices 2012-02-18 13:01:42 +01:00
Marcel Holtmann 7ec8466f8a sierra: Rename some variables 2012-02-16 19:18:17 +01:00
Marcel Holtmann 1a3752c174 udev: Detect more ports for Sierra modems 2012-02-16 19:17:40 +01:00
Marcel Holtmann 91bd71e996 udev: Add sanity check for ports on old Option devices 2012-02-16 18:36:23 +01:00
Marcel Holtmann caad8378d9 udev: Detect old Option cards without high-speed interface 2012-02-16 18:07:07 +01:00
Marcel Holtmann 7693007d2e ifx: Add support for Assisted Satellite Navigation 2012-02-16 13:06:52 +01:00
Marcel Holtmann e3ef803a75 ifx: Setup CSCS to use GSM for the aux port
This change is needed since otherwise umlauts and other characters
for USSD responses will not work properly.
2012-02-10 12:20:58 +01:00
Denis Kenzior 2708ca3b63 ifx: Take out bad merge 2012-02-09 22:35:21 -06:00
Marcel Holtmann e2fe4e4940 ifx: Use CFUN=0 (Minimum Functionality) to disable modem 2012-02-10 02:42:43 +01:00
Marcel Holtmann b1b0fe761e ifx: Remove handling of audio settings setup
The audio settings setup is now done as port of the audio settings atom.
2012-02-10 01:17:06 +01:00
Marcel Holtmann 31efecfe72 ifx: Fix compilation issue 2012-02-02 21:51:26 -08:00
Denis Kenzior 6b44e65993 ifx: Make sure query XSIMSTATE
XSIMSTATE=1 does not seem to reliably activate XSIM notifications
anymore.  So query the XSIMSTATE at startup instead.
2012-02-02 09:15:36 -06:00
Denis Kenzior 1b5b46a23e ifx: Use a proper prefix for XGENDATA 2012-02-02 05:53:53 -06:00
Marcel Holtmann 5086f5f43a udev: Limit ZTE port selection to specific product identifiers 2012-01-17 10:38:07 +01:00
Marcel Holtmann d6d86ff938 udev: Keep vendor and product identifiers around 2012-01-17 10:35:23 +01:00
Marcel Holtmann f2bfaed174 udev: Add detection support for SIM COM modems 2012-01-13 04:56:02 +01:00
Renat Zaripov 4d388a684b udev: Add SIMCOM SIM900 detection support
This allows for detection of SIM900 modem module in case
of appropriate driver specified in udev rules.

Example rule:
KERNEL=="gsmtty3", ENV{OFONO_DRIVER}="sim900"
2012-01-11 23:48:24 -06:00
Renat Zaripov 969ad0acd7 plugins: Add support for sim900 by SIMCOM
This patch add support for SIM900 GSM module
http://wm.sim.com/Sim/FrontShow_en/wireless/detail.aspx?cid=6&nid=770
2012-01-11 23:48:24 -06:00
Marcel Holtmann 2292753f4e huawei: Select USSD atom driver based on firmware mode 2012-01-12 06:02:27 +01:00
Marcel Holtmann aba7731fdc speedup: Setup CSCS after SIM card has been detected 2012-01-12 04:38:50 +01:00
Marcel Holtmann d4eeced43c hso: Setup CSCS after SIM card has been detected 2012-01-12 04:37:40 +01:00
Marcel Holtmann 0043f4735e huawei: Setup CSCS after SIM card has been detected 2012-01-12 04:37:03 +01:00
Denis Kenzior 7f431e714f udev: Use g_ascii_isalnum instead of isalnum 2012-01-11 14:31:45 -06:00
Marcel Holtmann e0853c7f20 huawei: Print and store NDIS support results 2012-01-11 21:35:25 +01:00
Denis Kenzior 60890653e3 huawei: Refactor logic slightly 2012-01-11 06:49:46 -06:00
Guillaume Zajac b1eb2209ab huawei: Create sim atom for cdma modems
Don't create atom if sim is embedded.
Atom will use "atmodem-noef" drivers to support PIN management
and IMSI retrieval.
2012-01-11 06:46:38 -06:00
Denis Kenzior 89c757f49d zte: Setup CSCS on both ports 2012-01-11 06:38:28 -06:00
Denis Kenzior 845deec554 speedup: Setup CSCS on both ports 2012-01-11 06:38:28 -06:00