Commit Graph

553 Commits

Author SHA1 Message Date
Frédéric Danis b7590b08d2 bluetooth: Add reference count for bluetooth utils
Add bluetooth_ref()/bluetooth_unref() to support reference count in
bluetooth utils.
2011-01-20 12:20:47 +01:00
Lucas De Marchi a72115510a huawei: do not query sim state on pre_sim
Sim state is already known after modem is enabled and there's no need to
query it again. Before this patch, query_sim_state() was called upon
huawei_enable() and huawei_pre_sim(). Both functions might call
notify_sim_state() with a valid state. Hence we could eventually end up
sending AT+CFUN=5 command twice.
2011-01-19 15:39:49 +01:00
Marcel Holtmann a4d14ccb3e ifx: Remove modification of GIOChannel before multiplexer setup
After g_at_chat_new() call the GIOChannel is already in non blocking,
no encoding and no buffering mode. So no need for extra modifications.
2011-01-19 15:32:52 +01:00
Lucas De Marchi edaff4b505 huawei: do not set timer more than once
If a "^SYSINFO" arrives after the timer for query_sim_locked() has been
set up, it'd would set a new timer, signaling a sim state change more
than once.
2011-01-19 14:21:29 +01:00
Lasse Kunnasluoto f11402907a ste: Use UTF-8 as a default character set 2011-01-18 16:56:27 +01:00
Tomasz Gregorek 802b3acbd9 mbm: Remove data->reopen_source timer before setting up new one
Check if there is a timer running already and remove it before
creating a new one. This will prevent calling reopen_callback() more
than if mbm_disconnect() is called more than once.
2011-01-14 14:40:47 +01:00
Tomasz Gregorek d104573d54 mbm: Adding timer removal to mbm_remove()
In case the modem is disconnected during enabling process, mbm_disconnect()
will set up data->reopen_source timer. This timer needs to be
removed in mbm_remove() to stop execution of reopen_callback() after
hardware disconnection.
2011-01-14 14:39:37 +01:00
Jeevaka Badrappan 00a2335ed4 ifx: add ctm create to ifx plugin 2011-01-14 14:34:48 +01:00
Dara Spieker-Doyle e0e734619f nokiacdma: Add CDMA devinfo support 2011-01-13 16:15:36 -06:00
Dara Spieker-Doyle 492f0629ca udev: Add nokiacdma device 2011-01-12 23:14:23 -06:00
Dara Spieker-Doyle f8a65e6817 ofono-rules: Add nokiacdma device 2011-01-12 23:14:04 -06:00
Denis Kenzior df8ad0a738 nokiacdma: Minor fixes 2011-01-12 23:13:44 -06:00
Dara Spieker-Doyle 1c0a514578 nokiacdma: Add plugin and CDMA MO Call Support 2011-01-12 23:12:57 -06:00
Jeevaka Badrappan 04a8d58515 plugins: M15 coding style fix 2011-01-12 08:06:58 -08:00
Marcel Holtmann bd2f5db0ec udev: Add another Sierra Wireless modem to the list 2011-01-11 19:06:19 -08:00
Sjur Brændeland f8d3f8a7d3 plugin: Add ste modem init daemon integration
This patch introduces auto discovery of ST-Ericsson modems.
ST-Ericsson modems (M57XX, M7XX, M74XX) are managed by a
Modem Init Daemon responsible for start, power cycles,
flashing etc. This STE plugin monitors the modem state exposed
from the Modem Init Daemon's Dbus API. When the modem is in state
"on" the STE modem is created and registered. Muliple modem
instances, and reset handling is supported.
2011-01-11 14:56:58 -08:00
Marcel Holtmann e51e1243e3 sierra: Add skeleton for Sierra modem plugin 2011-01-10 23:16:21 -08:00
Marcel Holtmann 1cf3b640fe udev: Add support for Sierra device detection 2011-01-10 23:12:12 -08:00
Lucas De Marchi 4c2920d8a5 huawei: use VENDOR_HUAWEI quirk on sim creation 2011-01-10 15:38:42 -06:00
Denis Kenzior 58b053c881 udev: Minor style fix 2011-01-10 15:14:03 -06:00
Oskari Timperi 83ab76d475 udev: Handle TC65 modem 2011-01-10 15:11:48 -06:00
Denis Kenzior 98e5619aad tc65: Minor style fixes 2011-01-10 15:11:18 -06:00
Denis Kenzior 1e8d948e20 tc65: Simplify logic 2011-01-10 15:10:40 -06:00
Denis Kenzior 51427d8516 tc65: No need to g_strdup options in the hashtable 2011-01-10 15:08:01 -06:00
Oskari Timperi e6d8b537b9 Add plugin for Cinterion TC65 modem 2011-01-10 15:00:50 -06:00
Marcel Holtmann 845a69158f gobi: Add support for basic network registration handling 2011-01-09 19:02:35 -08:00
Marcel Holtmann 994e6da575 gobi: Add skeleton for Qualcomm Gobi modem plugin 2011-01-09 06:18:18 -08:00
Marcel Holtmann c21aa148f8 udev: Add support for Qualcomm Gobi device detection 2011-01-09 06:17:26 -08:00
Pekka Pessi 524c5813d2 n900: use simplified client interface
Use MTC_STATE_REQ_TIMEOUT with MTC_STATE_REQ, too.
2011-01-07 13:39:18 +02:00
Pekka Pessi e1b6a5f16d isiusb: use simplified client interface 2011-01-07 13:39:18 +02:00
Marcel Holtmann b3fda06e2d hso: Add support for checking SIM ready status 2011-01-05 23:02:48 -08:00
Marcel Holtmann dbbc6be716 hso: Add support for model type check on bootup 2011-01-05 22:33:07 -08:00
Marcel Holtmann 9c5fdc9065 mbm: Fix check for modem model 2011-01-05 22:28:19 -08:00
Marcel Holtmann 3950052dfc push-notification: Handle notifications with source port 0
It seesm that some networks send the push notifications with a source
port of 0 instead of 9200. Instead of accepting any source port, add
an additional datagram handler for the source port 0.
2010-12-24 10:48:30 -08:00
Andrzej Zaborowski 369fe6b146 n900: remove unneeded g_isi_client_destroy call
"client" is either NULL or uninitialised in this place.
2010-12-23 18:25:40 -06:00
Aki Niemi 204aaeced0 isigen: Rename generic USB plugin to isiusb 2010-12-22 17:13:49 +02:00
Aki Niemi 4e91ea67d2 n900: Enable message tracing and debugging 2010-12-22 17:13:49 +02:00
Aki Niemi 64e712f3a6 n900: Adapt and refactor n900 plugin 2010-12-22 17:13:49 +02:00
Aki Niemi b2bf42f254 isigen: Enable message tracing and debugging 2010-12-22 17:13:49 +02:00
Aki Niemi 2cef1587f2 isigen: Adapt and refactor isigen plugin 2010-12-22 17:13:48 +02:00
Lucas De Marchi d90fd381b5 huawei: cancel poll when going to a valid state 2010-12-21 17:21:21 -06:00
Denis Kenzior 9e9cc02025 ste: Move radio_settings to post_sim 2010-12-21 16:36:42 -06:00
Denis Kenzior e2c3c05730 novatel: Move radio_settings to post_sim 2010-12-21 16:36:19 -06:00
Denis Kenzior 784bf9b1c3 n900: Move radio_settings to post_sim 2010-12-21 16:31:58 -06:00
Denis Kenzior 398e2b681b isigen: Move radio_settings to post_sim 2010-12-21 16:31:36 -06:00
Denis Kenzior 9e4c1a64cf ifx: Move radio_settings to post_sim 2010-12-21 16:31:14 -06:00
Denis Kenzior b22d2109da huawei: Move radio_settings to post_sim 2010-12-21 16:31:11 -06:00
Denis Kenzior 87dcc536ea hso: Move radio_settings to post_sim 2010-12-21 16:28:36 -06:00
Lucas De Marchi 5212a1b5a4 huawei: Add support for radio settings 2010-12-21 16:03:00 -06:00
Lucas De Marchi 67486801d0 huawei: fix SIM state notification when locked
When SIM is locked, huawei modem does not send any notification about
SIM state change because it does not differentiate 'invalid' from
'locked'.

In order to be able to unlock the sim, this patch forces a notification
of a valid state after a timeout.
2010-12-21 13:37:25 -06:00