Commit Graph

684 Commits

Author SHA1 Message Date
Jukka Saunamaki f3086ae4e8 isiusb: add message-waiting 2011-03-03 19:16:19 +02:00
Aki Niemi 0160ba682e u8500: Create wgmodem2.5 drivers 2011-03-03 17:43:30 +02:00
Aki Niemi 673975aa08 isiusb: Create wgmodem2.5 driver as well 2011-03-03 17:43:29 +02:00
Denis Kenzior 9b1675c000 udev: Fix detection of mbm with GPS capabilities 2011-03-02 22:50:31 -06:00
Denis Kenzior 72d1a0ea5c mbm: Allow mbm modems that don't have GPS 2011-03-01 15:48:55 -06:00
Jessica Nilsson 0c0cc21b71 plugins: add u8500 to udev 2011-02-25 17:21:08 +02:00
Rafael Ignacio Zurita a5bcf1c9b3 udev: add location-reporting device to mbm 2011-02-23 17:19:34 -06:00
Rafael Ignacio Zurita 9a1d0a788d mbm: add location-reporting atom 2011-02-23 17:19:29 -06:00
Aki Niemi 6fe0effb5d u8500: Fix plugin description 2011-02-23 15:22:56 +02:00
Jessica Nilsson c0b799a45b plugins: add plugin for u8500 2011-02-23 15:21:30 +02:00
Denis Kenzior 4654f0b145 ste: Fix various style issues with previous patch 2011-02-22 12:06:09 -06:00
Jussi Kangas 8075d66775 ste: preparation for hotswap 2011-02-22 11:48:02 -06:00
Rolf Offermanns 80c1cec0c0 ofono.rules: remove patch leftovers in linktop rules 2011-02-22 09:31:04 -06:00
Marit Henriksen 252d35cb05 ste: Add support for multiple pdp contexts. 2011-02-21 08:27:08 -08:00
Aki Niemi c3e9c7f0fd isiusb: Create also the wgmodem2.5 driver 2011-02-18 16:17:13 +02:00
Gustavo F. Padovan 8250c1edad bluetooth: add DBG() messages 2011-02-17 16:02:54 -08:00
Gustavo F. Padovan 10caaadd9b bluetooth: fix crash by removing record
When bluetoothd is not running we should not call RemoveRecord()
2011-02-17 16:02:28 -08:00
Gustavo F. Padovan df3d0d8365 bluetooth: change how we report DBus errors 2011-02-17 16:02:03 -08:00
Gustavo F. Padovan a0dce4c015 bluetooth: add a bluetoothd connect watch
This fix a issue with sending DBus messages when bluetoothd is not up yet.
2011-02-17 16:00:00 -08:00
Gustavo F. Padovan e7f8041acd bluetooth: move find_adapter_cb to better place. 2011-02-17 15:59:45 -08:00
Frédéric Danis de02942e77 bluetooth: remove unneeded g_io_channel_shutdown 2011-02-17 11:15:48 -06:00
Denis Kenzior ba8000cadf hfp_ag: Minor style fix 2011-02-17 10:07:52 -06:00
Frédéric Dalleau 612fb11e16 hfp_ag: Do not close client fd on unref 2011-02-17 10:07:52 -06:00
Martin Xu 61d1ff6b50 udev: set Huawei EM770W modem device to 00
Device 00 is ppp port. Setting it as 01, my Huawei EM770W modem PPP
connection can't work
2011-02-16 18:14:58 -08:00
Amit Mendapara 163e98ac06 linktop: power up the modem in 'offline' state 2011-02-16 11:57:58 -06:00
Frédéric Danis 150d27d698 bluetooth: rename hfp.c in hpf_hf.c 2011-02-16 11:56:58 -06:00
Jan Luebbe 14941e11b6 ofono.rules: add ID for Sierra Wireless MC8790 2011-02-16 09:47:08 -06:00
Frédéric Danis 1bd752eb12 hfp_ag: Create emulator with type HFP_AG 2011-02-16 00:23:44 -06:00
Denis Kenzior de98d0b8bd dun_gw: Reformat SDP record 2011-02-16 00:23:44 -06:00
Gustavo F. Padovan 327d9f3c90 dun_gw: Add DUN server plugin for oFono
DUN server is probed when modem state changes to online. It registers
DUN record to Bluetooth adapter and wait for incoming DUN connection.

Based on a patch from Zhenhua Zhang <zhenhua.zhang@intel.com>
2011-02-16 00:23:44 -06:00
Denis Kenzior 376a72bdc0 hfp_ag: Reformat SDP record 2011-02-16 00:23:44 -06:00
Frédéric Danis 4a75e91c09 bluetooth: add HFP AG plugin 2011-02-16 00:23:44 -06:00
Denis Kenzior b7048692a7 bluetooth: Reset adapter_any_path to NULL in unref 2011-02-15 13:19:07 -06:00
Denis Kenzior 19aac08e32 bluetooth: style issues 2011-02-15 13:18:47 -06:00
Frédéric Dalleau e0c1c1557e bluetooth: single SDP record for all adapters 2011-02-15 13:14:45 -06:00
Amit Mendapara dfe561e0c2 udev: Add Teracom (Linktop/LW27x) device detection 2011-02-14 13:49:14 -06:00
Amit Mendapara 01ad21c4c0 udev: Handle Linktop data card 2011-02-14 13:48:09 -06:00
Denis Kenzior 50d8b11c43 linktop: Minor style issues 2011-02-14 13:47:20 -06:00
Amit Mendapara 7578062348 plugin: Add plugin for Linktop LW27x data cards 2011-02-14 13:17:42 -06:00
Jeevaka Badrappan f2b8e0f5b9 ifx: Remove modem selftest support
Commands used for self tests are not working for all
versions of the modem firmware.
2011-02-10 08:16:51 -08:00
Marcel Holtmann a088359876 sierra: Fix small coding style issue 2011-02-09 18:28:16 -08:00
Marcel Holtmann f529f80ec7 gobi: Fix small coding style issue 2011-02-09 18:27:40 -08:00
Denis Kenzior b6aed256b4 bluetooth: Minor style fixes 2011-02-08 21:16:03 -06:00
Denis Kenzior 671a7affee bluetooth: Get rid of memory leaks on error 2011-02-08 21:13:48 -06:00
Denis Kenzior ba9cd4adbb bluetooth: Refactor the authorization process
It is unnecessary to keep the IO watch around after the authorization
process has finished.  This also means client_list variable is not
really needed.

Since we destroy the watch once the auth_cb is called, we can also
remove the auth_pending variable.

Finally, the null check of path is not necessary
2011-02-08 21:13:29 -06:00
Frédéric Danis 4bb1e0d32c bluetooth: Add Bluetooth service authorization support 2011-02-08 16:49:37 -06:00
Frédéric Danis f3acfea531 bluetooth: Add bluetooth server support 2011-02-08 16:49:09 -06:00
Anand Ramakrishna 6608c0018d ifx: Fix for changed selftest AT command syntax
It is a fix to support the selftest AT command syntax changed in latest
IFX fw version.
2011-02-08 14:44:12 -08:00
Frédéric Danis bc793d945c bluetooth: Optimize D-Bus call flow
We can call manager GetProperties once inside bluetooth_ref and avoid
calling it every time bluetooth_register_uuid is called.
2011-02-08 12:44:39 -06:00
Anand Ramakrishna 09b169c95f ifx: Adding modem selftest for Infineon modem
Infineon modem selftest, during ifx_enable().
Two steps trigger with timeout. In case one fails, modem will not power up.
2011-02-07 13:41:59 -08:00
Aki Niemi cca8946cdb n900: Enable use of legacy subscriptions 2011-02-07 09:51:35 +02:00
Aki Niemi 68041bffba isiusb: Enable use of legacy subscriptions 2011-02-07 09:51:35 +02:00
Aki Niemi 7ffaea7fbd plugins: Adapt isiusb and gpio plugins to new API 2011-02-07 09:51:34 +02:00
Denis Kenzior 074f1ff516 push-notification: Fix the nulling of the agent
Same as the previous commit, but applies to push-notifications
2011-02-02 13:24:04 -06:00
Lucas De Marchi 16e3c0ffe4 smart-messaging: set agent to NULL after free
If agent is not set to NULL after it's freed, the following situation
would not work:

smart_messaging_register_agent()
smart_messaging_unregister_agent()
smart_messaging_register_agent()

And this one could potentially crash oFono:

smart_messaging_register_agent()
smart_messaging_unregister_agent()
smart_messaging_unregister_agent()
2011-02-02 13:23:30 -06:00
Lucas De Marchi 2770d0ddd3 plugins: fix misspelling 2011-02-01 18:35:48 +01:00
Lasse Kunnasluoto 98e942d11b ste: Add support for CBS interface
STE modems support standard AT commands in CBS
2011-02-01 16:44:33 +01:00
Jeevaka Badrappan 6433af838d mbm: add radio-settings support 2011-01-31 10:48:01 +01:00
Jeevaka Badrappan 8c667aadad plugins: remove NULL check 2011-01-29 18:39:37 +01:00
Marcel Holtmann 863ce7d93a gobi: Use permissive AT syntax parser
Trying to use the GSM V1 parser will break sending SMS. So just accept
that Gobi is another device where the strict syntax parser won't work.
2011-01-29 18:39:37 +01:00
Marcel Holtmann ff1c41a672 tc65: Move SMS support into post_sim stage 2011-01-29 10:34:31 +01:00
Marcel Holtmann f840ee6628 hso: Move SMS support into post_sim stage 2011-01-29 10:33:53 +01:00
Marcel Holtmann 4b8a5594ce zte: Move SMS support into post_sim stage 2011-01-29 10:32:36 +01:00
Marcel Holtmann bda85361ad novatel: Move SMS support into post_sim stage 2011-01-29 10:31:16 +01:00
Marcel Holtmann a5e83f5668 huawei: Move SMS support into post_sim stage 2011-01-29 10:30:03 +01:00
Marcel Holtmann 9cc7919e6f ste: Move SMS support into post_sim stage 2011-01-29 10:29:20 +01:00
Marcel Holtmann 93895ca934 mbm: Move SMS support into post_sim stage 2011-01-29 10:28:47 +01:00
Marcel Holtmann deaa45196d ifx: Move SMS support into post_sim stage 2011-01-29 10:28:05 +01:00
Marcel Holtmann 2b0dab3dcb gobi: Move SMS support into post_sim stage 2011-01-29 10:26:52 +01:00
Denis Kenzior 6d48fe7a05 phonesim: Move sms atom to post_sim state 2011-01-28 20:28:36 -06:00
Zhigang Li 1166ed5a3a udev: Enable Dell 5540 AGPS interface 2011-01-28 10:18:00 +01:00
Marcel Holtmann 56469ad415 sierra: Use vendor quirk for SIM driver 2011-01-27 15:50:00 +01:00
Marcel Holtmann b3568a3c3b sierra: Add support GPRS registration 2011-01-27 15:41:12 +01:00
Marcel Holtmann de648cf963 sierra: Add support for online mode 2011-01-27 15:35:56 +01:00
Marcel Holtmann ab47ccc692 novatel: Handle modem enable errors properly 2011-01-27 15:31:06 +01:00
Kai Vehmanen f6f0f4d121 n900: fix set online
Invalid MTC_STATE_REQ messages were sent, causing failures in going
online.
2011-01-27 12:59:41 +02:00
Marcel Holtmann 1f356f227b gobi: Handle broken SIM status notification gracefully 2011-01-24 12:55:25 +01:00
Marcel Holtmann fa32c1fd27 gobi: Enable handling for GPRS registration 2011-01-22 13:14:07 +01:00
Marcel Holtmann 55209a77c1 gobi: Check for SIM status first before enabling SIM card 2011-01-22 13:02:35 +01:00
Marcel Holtmann 7985e53fe7 gobi: Enable vendor quirk for network registration 2011-01-22 12:38:49 +01:00
Marcel Holtmann e7a05dbfd3 gobi: Add support for SMS, CBS and USSD interfaces 2011-01-22 11:37:03 +01:00
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