Commit Graph

912 Commits

Author SHA1 Message Date
Denis Kenzior b33d6b5fcb hfp_hf: Reorganize common code into hfpmodem 2011-07-21 03:49:27 -05:00
Guillaume Zajac 77ae92efc0 speedupcdma: Create skeleton for Speed Up CDMA modem support 2011-07-21 11:46:33 +02:00
Bertrand Aygon c7a5c2d07e ofono.rules: Add rules for Tata ZTE MF 631 2011-07-20 08:22:58 -05:00
Bertrand Aygon 006c8825e4 ofono.rules: Add rules for Reliance ZTE MF 688 2011-07-18 07:47:40 -05:00
Marcel Holtmann ce1c60d4e5 connman: Handle D-Bus without fd passing support 2011-07-17 19:35:29 +02:00
Bertrand Aygon d9b369fffe ofono.rules: Add rules for ZTE MF 637 modem 2011-07-12 11:19:35 -05:00
Bertrand Aygon b25c1a26fd ofono.rules: Add rules for SpeedUp 8000 modem 2011-07-12 11:17:53 -05:00
Denis Kenzior 947c164a67 connman: Refactor request_reply 2011-07-12 11:16:48 -05:00
Denis Kenzior 4c4c5ef107 connman: Perform more renaming 2011-07-12 09:34:36 -05:00
Denis Kenzior 67c501891f connman: Refactor pns_release 2011-07-12 09:27:44 -05:00
Denis Kenzior 143553b7c9 connman: Rename to be clearer 2011-07-12 09:03:57 -05:00
Guillaume Zajac 84a1b5fcd0 plugins: add connman private network driver 2011-07-12 09:01:43 -05:00
Guillaume Zajac 96b10ac89a huaweicdma: Create skeleton for Huawei CDMA modem support 2011-07-12 14:00:37 +02:00
Bertrand Aygon 1789bd5d4b ofono.rules: Add udev rules for SpeedUp 7300 2011-07-10 12:26:13 -05:00
Nicolas Bertrand 87d85808d2 ofono.rules: Add ofono rules for ZTE MF190 2011-07-10 09:24:05 -05:00
Marcel Holtmann 6094556558 huawei: Use correct command for setting offline mode
According to some Huawei related documentation it is better to use
AT+CFUN=7 for offline mode instead of AT+CFUN=5.
2011-07-11 15:06:02 +02:00
Frédéric Danis 4129f1a05a phonesim: add support of +CBC
PTS test TP/PSI/BV-03-I [Transfer Battery Level Indication] needs to
change battery level and check that the battery level indication is
received at the HF.
So add support for +CBC in phonesim plugin, and force update of the
battery indicator on HFP AG Emulator registration.
2011-07-08 13:24:21 -05:00
Bertrand Aygon 2c8f864204 zte: Create gprs & gc in post_sim 2011-07-07 01:16:25 -05:00
Bertrand Aygon 54dd702841 zte: Use decode_at_error instead 2011-07-07 01:15:21 -05:00
Bertrand Aygon ca62334863 udev: Add udev rules for SpeedUp modems 2011-07-06 02:01:58 -05:00
Bertrand Aygon 13aa7facc6 plugins: add speedup driver 2011-07-06 02:00:58 -05:00
Luiz Augusto von Dentz a5f5dd2569 bluetooth: Remove data in all situations
If an adapter or device is removed any data associate should be removed,
otherwise the next time they appear/are created the drivers may not
asssociate again.
2011-07-05 21:11:08 -05:00
Guillaume Zajac 5e1e2a335e rules: Add ofono rule for Huwaei modem E173 2011-07-05 21:07:53 -05:00
Guillaume Zajac b4058c6072 rules: Add ofono rule for ZTE modem MF668 2011-07-05 21:06:53 -05:00
Guillaume Zajac a3963a0e6e rules: Add ofono rule for ZTE modem MF180 2011-07-05 21:06:48 -05:00
Luiz Augusto von Dentz c9714bd4b5 bluetooth: make uuid profile detection more generic 2011-06-30 22:10:09 -05:00
Luiz Augusto von Dentz 55f1c95ed1 bluetooth: use lower case for UUIDs
BlueZ also uses lower case
2011-06-30 22:05:56 -05:00
Michael Schloh von Bennewitz a90d81e310 udev: fix detection of HP HS2330 (3607gw)
commit 6a2847f7ab introduced basic
detection of HP HS2330 based on OEM Ericsson F3607gw modems.

Because some (or all?) HS2330 modems contain flawed text identifiers
containing strange (probably erroneous) binary sequences in place of
the ASCII space '\x20' character, the previous commit is incomplete.
The following logic detects the modem properly, by comparing binary
data as well as ASCII text values.
2011-06-30 00:39:44 -05:00
Denis Kenzior 6a2847f7ab udev: Tweak detection rules for HP HS2330 cards 2011-06-27 12:17:22 -05:00
Amit Mendapara 13946995e1 udev: changed linktop device strings 2011-06-27 10:18:05 -05:00
Amit Mendapara c8b82018d3 linktop: reimplemented with minimum features
The device supports subset of ST-Ericsson AT command
extensions but nither STE nor the MBM plugin works with
these devices.

Fixes MeeGo bug #14784
2011-06-27 10:18:01 -05:00
Denis Kenzior 6aa70ebf6b mbm: Use decode_error from atutil 2011-06-27 10:12:19 -05:00
Frédéric Danis 1ef6317581 hfp_hf: update to use new HFP enums 2011-06-20 04:19:09 -05:00
Frédéric Danis 41bea0be67 hfp_ag: fix SDP record
HFP AG supports 3 way calls
2011-06-19 06:31:40 -05:00
Aki Niemi 19fc6d5f2d u8500: Use new UICC SIM driver 2011-06-17 17:04:49 +03:00
Bernhard Guillon 30ccc42a97 udev: add initial Telit support 2011-06-14 04:30:50 -05:00
Denis Kenzior b91726213c telit: Use more generic error decoding 2011-06-08 04:26:22 -05:00
Denis Kenzior 56bef41eac telit: Make sure to clean up the source 2011-06-08 04:24:20 -05:00
Denis Kenzior 025fe0a74d telit: Update copyright 2011-06-08 04:19:56 -05:00
Bernhard Guillon 9f9bf3947e plugins: Add initial telit UC864-G support 2011-06-08 04:19:03 -05:00
Denis Kenzior c93d3eb129 bluetooth: Remove usage of ofono.h 2011-06-06 01:04:02 -05:00
Caiwen Zhang 00e5f0a6ca huawei: NDIS port doesn't depend on modem port
When creating the NDIS gprs context, do not check the existence of the
modem port.
2011-06-02 16:02:42 -05:00
Denis Kenzior abebab53d4 huawei: Minor tweaks to debug messages 2011-06-02 16:02:04 -05:00
Caiwen Zhang afc894e6b4 huawei: reopen once if open device failed
Sometimes when we try to open the modem (PPP) device, it may fail.
If opening the tty failed, retry once one second later.
2011-06-02 15:59:03 -05:00
Denis Kenzior d99ca1779a bluetooth: Initialize GError properly 2011-05-31 11:41:42 -05:00
Marcel Holtmann efebdc4ca5 bluetooth: Remove usage of unused variable 2011-05-27 10:10:04 -07:00
Marcel Holtmann caf1071364 sierra: Remove usage of unused gprs variable 2011-05-27 10:08:59 -07:00
Marcel Holtmann 9245f6850f huawei: Remove usage of unused netreg variable 2011-05-27 10:08:16 -07:00
Caiwen Zhang 88a16cabc7 udev: add rule for Option GTM661W modem 2011-05-25 19:39:41 -07:00
Gustavo F. Padovan 807f67d7e8 gobi: remove set but not used var 2011-05-20 15:07:31 -05:00
Gustavo F. Padovan e312060928 udev: remove set but not used var 2011-05-20 15:06:50 -05:00
Bertrand Aygon 74d3550788 nokia-gpio: Fix memory leak
All dir opened with opendir must be closed with closedir
2011-05-11 13:29:33 -05:00
Bertrand Aygon 62370c5491 nokia-gpio: Fix minor style issue 2011-05-11 13:29:33 -05:00
Denis Kenzior 9c8451a1b8 phonesim: Create atoms in a different order
This uncovers a valgrind condition:

==17231== Invalid read of size 8
==17231==    at 0x4A2461: gprs_context_unregister (gprs.c:2143)
==17231==    by 0x46FEB0: __ofono_atom_unregister (modem.c:260)
==17231==    by 0x4703C9: modem_change_state (modem.c:407)
==17231==    by 0x470664: set_powered (modem.c:848)
==17231==    by 0x4706BA: __ofono_modem_shutdown (modem.c:2137)
2011-05-11 12:11:19 -05:00
Martin Xu eaf6f64879 huawei: Switch to offline mode only if offline 2011-04-26 14:55:55 -05:00
Martin Xu d38fa75518 huawei: Check that the modem device is open
Don't create the gprs atom if the modem device was not opened
successfully.  Otherwise ofonod will crash.
2011-04-26 14:51:57 -05:00
Denis Kenzior c9250abdcf hfp_ag: Be extra pedantic on plugin cleanup 2011-04-19 16:49:33 -05:00
Denis Kenzior 888218680d dun_gw: Be extra pedantic on plugin cleanup 2011-04-19 16:49:12 -05:00
Denis Kenzior a6489e6850 dun_gw: Minor style tweak 2011-04-19 16:46:54 -05:00
Denis Kenzior a7543913f4 hfp_ag: Minor style tweak 2011-04-19 16:39:11 -05:00
Pekka Pessi 660166de74 isiusb: wait for MTC transitions, too 2011-04-19 10:09:34 +03:00
Aki Niemi ec1c8a2ec6 plugins: Remove wgmodem2.5 driver for netreg 2011-04-12 20:39:19 +03:00
Aki Niemi b62a01eae4 isimodem: Remove split voicecall driver
Only a single driver created, with two clients checked for
reachability in parallel.
2011-04-12 20:39:18 +03:00
Aki Niemi e17da972e2 isimodem: Rename resource debug macro 2011-04-12 20:39:18 +03:00
Olivier Guiter 7f3985b53e gnss: fix broken build 2011-03-29 10:04:04 -05:00
Denis Kenzior 11bd671722 phonesim: add gnss support 2011-03-28 18:06:59 -05:00
Jarko Poutiainen 7c2568b098 ste: add support for gnss 2011-03-28 18:06:59 -05:00
Christian Lam 7f32f87fdf nokiacdma: add CDMA Connection Manager support 2011-03-17 14:12:08 -05:00
Denis Kenzior 8c601d48fb phonesim: Add support for ipv6 / dual contexts 2011-03-15 17:14:26 -05:00
Mika Liljeberg 1129cc59c2 phonesim: add IPv6 support 2011-03-15 17:11:59 -05:00
Martin Xu a9f75b3f23 huawei: Fix huawei_disconnect function issue
huawei_disconnect is used to recovery the io and gprs context when
io error happends, see commit 39382730d7
However, io error not only happends at PPP disconnect, in theory it
can happends at any situation. I also observed that it happens when modem
go into offline mode at my Huawei EM770W modem. in this case, gprs should
not be reopened.
2011-03-15 13:54:59 -05:00
Guillaume Zajac 4aa1e669bb dun_gw: Set GIOChannel to not close on unref
This fixes automatic GIOChannel closing when a bluetooth
connection is attempted.
2011-03-11 14:04:46 -06:00
Denis Kenzior dad491d7a7 hfp_ag: Remove unneeded return statement 2011-03-11 14:03:54 -06:00
Andras Domokos 4a36b93d6a ssn: remove SSN atom completely 2011-03-11 13:08:51 -06:00
Lucas De Marchi 42ecf16c29 huawei: do not check for NULL pointer
cb_data_new() uses g_new0(), hence there's no need to check the return
value being NULL.
2011-03-04 05:14:02 -08:00
Lasse Kunnasluoto 8d89bdd9bf ste: Add support for multiple AT channels 2011-03-03 13:42:25 -06:00
Denis Kenzior a1944667b9 ste: Minor style fixes 2011-03-03 13:42:25 -06:00
Jussi Kangas 50b71d75c7 ste: Reset have_sim appropriately 2011-03-03 13:42:25 -06:00
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
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
Antti Paila 53bede6385 udev: Fix warning in compilation 2010-12-21 06:05:21 -08:00
Neil Jerram 29561dba93 udev: Handle calypso driver 2010-12-20 17:34:06 -06:00
M. Dietrich bb58a72907 huawei: set huawei em770 modem device to 01
device 00 is ppp capable while 01 is not. 01 does everything
else fine so ofono works with it flawlessly.
2010-12-20 15:25:01 -06:00
Jeevaka Badrappan 9f61b81965 phonesim: Move call forwarding to post sim 2010-12-17 17:04:04 -06:00
Jeevaka Badrappan c56c0b03bd plugins/n900: Move call forwarding to post sim 2010-12-17 17:04:01 -06:00
Jeevaka Badrappan ddb2baaa54 isigen: Move call forwarding to post sim 2010-12-17 17:03:58 -06:00
Jeevaka Badrappan e3358cc24b ifx: Move call forwarding to post sim 2010-12-17 17:03:55 -06:00
Denis Kenzior 0571baa5f1 huawei: Pass the HUAWEI vendor ID to gprs driver 2010-12-11 11:39:07 -06:00
Gustavo F. Padovan b7cfbff47d phonesim: Add modem reset trigger 2010-12-07 12:16:20 -06:00
Denis Kenzior 4c2bd38f7f ste: Minor style fixes 2010-12-03 08:01:10 -06:00
Helen Clemson 6befb8290d ste: Restructure caif channel creation
This is restructuring the caif channel creation, so that at a later
date multiple AT channels can be supported. This effectively moves
the channel creation from ste_enable, into its own function,
ste_create_channel.
2010-12-03 08:01:10 -06:00
Lucas De Marchi 67f78f680d plugins: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 12:55:49 -06:00
Lucas De Marchi 62781988e2 phonesim: implement ctm atom 2010-11-29 10:38:58 -06:00
Rémi Denis-Courmont 1578c0e2f4 isigen: Remove stray newlines in DBG 2010-11-26 13:49:32 -06:00
Mika Liljeberg 39d6fffae8 isigen: create four gprs contexts 2010-11-11 09:52:34 -06:00
Pekka Pessi 179a81ac7c udev: do not use weird serial with zte 2010-11-08 13:12:09 -06:00
Pekka Pessi fbacb9de28 zte: use AT+CFUN=1;+CFUN=4 in enable
Direct +CFUN transition 0 -> 4 gets SIM in inconsistent state.
2010-11-08 11:50:07 -06:00
Torgny Johansson aa3122fcbc Add vid/pid for Ericsson F5521gw 2010-11-08 19:37:38 +09:00
Hannu Lyytinen aa792453ae Added Nokia CS-17 to udev rules.
The stick has to be initialized with usb_modeswitch, though.
2010-11-07 12:45:49 +01:00
Hannu Lyytinen 2cf6a4819f Fixes segfault when removing Nokia Datacard. 2010-11-07 12:45:39 +01:00
Denis Kenzior 473cd4a7c6 smart-messaging: Implement SendAppointment 2010-11-04 10:25:42 -05:00
Denis Kenzior 7ecff9f83b smart-messaging: Implement SendBusinessCard 2010-11-04 10:25:42 -05:00
Pekka Pessi b3495d3a9b isigen: increase offline timeout
The modem deregisters from network before response to MTC_STATE_REQ is
returned.  Deregistering can take up to 6 seconds.
2010-11-04 16:19:53 +01:00
Marcel Holtmann ce7b1e2e67 build: Remove generic AT command modem plugin
This plugin was used for initial testing and is no longer needed. So
just remove it.
2010-11-04 15:20:38 +01:00
Denis Kenzior 59bbdd5d08 smart-messaging: Register to vCal notifications 2010-11-02 14:58:21 -05:00
Denis Kenzior 429dcb6ef5 smart-messaging: Register for vCard notifications 2010-11-02 14:58:21 -05:00
Denis Kenzior 6e6409ff42 smart-messaging: Free agent when sms atom exits 2010-11-02 14:58:21 -05:00
Denis Kenzior 49eee4006a smart-messaging: Implement unregister agent 2010-11-02 14:58:21 -05:00
Denis Kenzior d56e72ee1d smart-messaging: Implement RegisterAgent 2010-11-02 14:58:21 -05:00
Denis Kenzior 0d80076c79 push-notification: Handle WAP push messages 2010-11-02 12:15:53 -05:00
Denis Kenzior f9066be4f0 push-notification: Free agent when sms atom exits 2010-11-02 12:15:53 -05:00
Denis Kenzior 853f449892 push-notification: Implement unregister agent 2010-11-02 12:15:53 -05:00
Denis Kenzior df5339bf89 push-notification: Implement register agent 2010-11-02 12:15:53 -05:00
Denis Kenzior 55a61c3a63 push-notification: Add skeleton 2010-11-02 12:15:53 -05:00
Mika Liljeberg 6f94ed0685 isigen: fix phonet address initialization 2010-11-01 17:27:33 +01:00
Marcel Holtmann f6c3a9ae94 ifx: Enable vendor quirk for GPRS atom
Enabling the Infineon specific vendor quirk for the GPRS atom will enable
support for the GPRS suspend notifications.
2010-10-29 13:42:34 +02:00
Marcel Holtmann 6c52b1ff63 mbm: Fix setting GPRS context type for wrong atom 2010-10-27 11:53:13 +02:00
Marcel Holtmann 0b66264f8b mbm: Set specific GPRS context type for different atoms 2010-10-27 11:37:17 +02:00
Marcel Holtmann 23f2706dd0 mbm: Handle TTY disconnect for PPP based GPRS context
The Ericsson MBM modems also hangup the TTY when disconnecting PPP and
in that case the TTY needs to be re-opened. In addition it seems that
the TTY is actually blocked until the context is fully brought down, so
also a delay is required.
2010-10-27 02:02:41 +02:00
Marcel Holtmann 10ee140c24 mbm: Use the variant specific enum in a cleaner way 2010-10-27 01:18:42 +02:00
Marcel Holtmann 1e0602a9a8 mbm: Use data port for second PPP based GPRS context 2010-10-27 01:17:10 +02:00