Commit Graph

989 Commits

Author SHA1 Message Date
Marcel Holtmann fbed01d9b8 speedup: Use vendor quirk for network registration and GPRS atoms 2011-08-03 22:39:11 +02:00
Marcel Holtmann f6572725bc udev: Add rule for 4G Systems W14 dongle 2011-08-03 18:54:27 +02:00
Mario Tokarz 949c129e17 bluetooth: Add UUID for DUN. 2011-08-03 14:43:38 +02:00
Marcel Holtmann 868b4489f9 mbm: Don't bother with NULL checking for SIM state query free 2011-08-03 14:31:56 +02:00
Marcel Holtmann 0d460ce2a3 zte: Fix race condition with SIM state polling and removal 2011-08-03 14:30:41 +02:00
Marcel Holtmann b7a6739e92 speedup: Fix race condition with SIM state polling and removal 2011-08-03 14:29:32 +02:00
Marcel Holtmann 8cfab5328c huawei: Fix race condition with enable polling 2011-08-03 14:26:23 +02:00
Marcel Holtmann 0ac3ccfa9b huawei: Fix race condition with online enable polling 2011-08-03 14:23:21 +02:00
Bertrand Aygon 0504fc56ff udev: switch ttys for SpeedUp 8000.
On SpeedUp 8000, notifications are received only on ttyUSB1.
So we must use this tty for aux, and use ttyUSB3 for modem.
2011-08-02 15:01:41 +02:00
Marcel Holtmann 90ee6542e6 novatel: Enable support for SIM phonebook 2011-07-29 17:36:08 +02:00
Guillaume Zajac 5029b906aa connman: Fix crash due to uninitialized path 2011-07-28 00:12:13 -05:00
Guillaume Zajac ae4ed8541c connman: Fix crash in request_reply 2011-07-28 00:12:13 -05:00
Guillaume Zajac 446ee3443c connman: Fix crash in parse_reply 2011-07-28 00:12:13 -05:00
Bertrand Aygon 6133d538c2 zte: delay the sending of &C0 after SIM is ready. 2011-07-29 16:01:24 +02:00
Bertrand Aygon c9c531c913 udev: add support for Olive V-ME101 HSIA modem 2011-07-29 15:31:39 +02:00
Bertrand Aygon fde5f0c951 udev: add support for Vodafone K3570-Z modem 2011-07-29 15:30:21 +02:00
Marcel Holtmann 3d305df9ad huaweicdma: Fix stale PCUI channel after hot-unplug 2011-07-29 15:26:13 +02:00
Marcel Holtmann 98d448e7c4 speedupcdma: Fix stale control channel after hot-unplug 2011-07-29 15:25:24 +02:00
Marcel Holtmann bc329be0e2 gobi: Fix stale control channel after hot-unplug 2011-07-29 15:24:33 +02:00
Marcel Holtmann 1b804183a8 nokia: Fix stale control channel after hot-unplug 2011-07-29 15:22:51 +02:00
Marcel Holtmann ffa66e919a novatel: Fix stale control channel after hot-unplug 2011-07-29 15:21:28 +02:00
Marcel Holtmann 3e73ffebff speedup: Fix stale control channel after hot-unplug 2011-07-29 15:21:25 +02:00
Marcel Holtmann e604e5065c zte: Fix stale control channel after hot-unplug 2011-07-29 15:21:11 +02:00
Marcel Holtmann d998989e9c huawei: Fix stale PCUI channel after hot-unplug 2011-07-29 15:20:53 +02:00
Marcel Holtmann 43c5b442b2 huawei: Style cleanup for comments 2011-07-29 15:20:31 +02:00
Marcel Holtmann 3055bc112b huawei: Shutdown the modem within disable callback 2011-07-29 14:56:41 +02:00
Marcel Holtmann 342a5bbd1a udev: Add extra debug statements for device actions 2011-07-29 14:55:56 +02:00
Marcel Holtmann a5be01c0c8 udev: Report problems with the udev monitor channel 2011-07-29 14:08:28 +02:00
Denis Kenzior ceb2ea8735 udev: Assign 12d1:140b to Huawei CDMA modem driver
A simple Google search revealed that 12d1:140b is only used by CDMA
devices from Huawei. Mainly the EC1260 and EC126 and so just assign
the CDMA driver to it.
2011-07-28 23:02:55 +02:00
Bertrand Aygon e233d87104 speedup: delay &C0. 2011-07-28 22:09:49 +02:00
Bertrand Aygon 9527bfb9af speedup: remove online/offline mechanism. 2011-07-28 22:09:15 +02:00
Marcel Holtmann 158b8331bd huawei: Complete rewrite to better support state transitions
When switching from offline into online mode, the SIM card access
gets temporarily disabled by the modem firmware. To work around
this limitation poll the SIM card state.
2011-07-28 22:06:29 +02:00
Bertrand Aygon e256a6b7c8 udev: Add support for SpeedUp 7300 EVDO modem. 2011-07-28 14:50:57 +02:00
Marcel Holtmann 48c495241e gobi: Add support for simplified dialup mode 2011-07-28 00:03:46 +02:00
Marcel Holtmann 3180a4f5b1 speedup: Send CFUN=4 when enabling the modem 2011-07-27 20:45:03 +02:00
Bertrand Aygon d63d74b356 zte: Use at_util's cpin polling implementation. 2011-07-27 20:08:17 +02:00
Bertrand Aygon 946e30abb2 speedup: Use at_util's cpin polling implementation. 2011-07-27 20:05:23 +02:00
Marcel Holtmann 77ab26c61c zte: Delay sending of AT&C0 to disable data carrier detect
The &C0 can not be send as part of the initial modem init string
since then it return with an error. Also sending it right after seems
to end up in a race condition with the modem init.

So send AT&C0 on both channel after AT+CFUN completed.
2011-07-27 18:02:32 +02:00
Marcel Holtmann 357499597e gobi: Add timeout for modem enabling handling
Some GOBI cards stop responding to AT commands when RFKILL has been
enabled. In that case just timeout after 5 seconds.
2011-07-27 16:29:52 +02:00
Marcel Holtmann 1143f228f5 gobi: Fix error handling with device enabling and disabling 2011-07-27 16:09:11 +02:00
Bertrand Aygon 4179c87069 huawei: add a debug info to help debugging. 2011-07-27 15:54:09 +02:00
Bertrand Aygon 8a3b76272c huaweicdma: open 2 ttys, to use a dedicated one for PPP. 2011-07-27 15:53:16 +02:00
Bertrand Aygon 10cf8a4a06 speedupcdma: open 2 ttys, to use a dedicated one for PPP. 2011-07-27 15:52:40 +02:00
Marcel Holtmann c3e78fc827 novatel: Fix missing error handling for CFUN failure 2011-07-27 15:47:16 +02:00
Marcel Holtmann 1a23051d0f sierra: Fix disable and enable error handling 2011-07-27 15:41:37 +02:00
Marcel Holtmann 6d9d9558fb nokia: Remove some unneeded NULL pointer checks 2011-07-27 15:37:21 +02:00
Marcel Holtmann c6e25f65fc speedup: Use AT&C0 to disable data carrier detect
When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.
2011-07-26 13:32:46 +02:00
Marcel Holtmann b7e8db6dab linktop: Use AT&C0 to disable data carrier detect
When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.
2011-07-26 13:25:23 +02:00
Marcel Holtmann 60736a6e06 zte: Use AT&C0 to disable data carrier detect
When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.
2011-07-26 13:14:29 +02:00
Bertrand Aygon d81ca13097 huaweicdma: remove unneeded include. 2011-07-26 12:05:50 +02:00
Bertrand Aygon bb4e313b18 speedupcdma: remove unneeded include. 2011-07-26 12:05:20 +02:00
Marcel Holtmann 878ded6621 udev: Fix race condition with Novatel modem detection 2011-07-25 04:10:14 +02:00
Marcel Holtmann c6ee139f67 novatel: Blacklist the NO CARRIER terminator for control channel
The Novatel cards will send NO CARRIER to all channels. This confuses
setting device into offline mode while still having a data connection.
2011-07-25 03:48:25 +02:00
Marcel Holtmann a1baf7aa82 nokia: Use AT&C0 to disable data carrier detect
When the DCD is disabled the modem does not hangup anymore after the
data connection. This allows for simpler connection handling and it
allows to remove all TTY hangup work-arounds.
2011-07-25 03:43:07 +02:00
Marcel Holtmann 1d303e3d38 udev: Fix interfaces numbers for Nokia data cards 2011-07-25 03:42:46 +02:00
Marcel Holtmann 28181a66ef udev: Replace bInterfaceNumber with ID_USB_INTERFACE_NUM 2011-07-25 03:34:58 +02:00
Marcel Holtmann 49fc5b973d novatel: Use AT&C0 to disable data carrier detect
When the DCD is disabled the modem does not hangup anymore after the
data connection. This allows for simpler connection handling and it
allows to remove all TTY hangup work-arounds.
2011-07-25 03:16:38 +02:00
Marcel Holtmann 63f1b9e9f5 udev: Remove broken Huawei support for NDIS port 2011-07-25 01:36:12 +02:00
Marcel Holtmann e2bac24cb5 huawei: Remove leftover from HasVoice flag 2011-07-25 01:35:02 +02:00
Marcel Holtmann e0f1249fcc huawei: Remove broken handling for NDIS support 2011-07-25 01:34:41 +02:00
Marcel Holtmann 626612a8bf huawei: Check supported offline mode and fix error behavior 2011-07-24 22:31:15 +02:00
Marcel Holtmann 235630e59c udev: Remove voice setting flag from Huawei dongles 2011-07-24 19:48:36 +02:00
Marcel Holtmann ce42d6127c udev: Use ID_USB_INTERFACE_NUM instead of OFONO_IFACE_NUM 2011-07-24 18:35:55 +02:00
Marcel Holtmann bff43cead1 mbm: Set baud rate to 115200 for TTY speed
The Ericsson F5521gw is a bit picky with its TTY speed. All previous
cards do not need this setting, but this one does. To make things a
bit simpler, just set all Ericsson cards to a baud rate of 115200.
2011-07-24 16:09:45 +02:00
Marcel Holtmann 01b754806d mbm: Use AT&C0 to disable data carrier detect
When the DCD is disabled the modem does not hangup anymore after the
data connection. This only affected the PPP connection used for MMS
context setups, but without the quirk the handling of MMS contexts is
a lot cleaner as well.
2011-07-24 15:27:00 +02:00
Marcel Holtmann 49b8d24f3b huawei: Set slave channel for NW DEACT notifications 2011-07-24 14:50:12 +02:00
Marcel Holtmann 7ed56d6844 huawei: Use AT&C0 to disable data carrier detect
When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.
2011-07-24 12:59:14 +02:00
Marcel Holtmann f416abdc39 ifx: Fix race condition when online/offline operation fails 2011-07-24 12:54:38 +02:00
Marcel Holtmann c5cb5c192e udev: Add support for Huawei E398 modems 2011-07-24 00:39:16 +02:00
Marcel Holtmann cd2e6d201e udev: Add detection support for Samsung LTE dongles 2011-07-24 00:03:57 +02:00
Bertrand Aygon a15e326f47 udev: add support for Huawei CDMA dongles. 2011-07-23 17:01:54 +02:00
Denis Kenzior 01d967c381 mbm: Use at_util's cpin polling implementation 2011-07-22 08:27:32 -05:00
Marcel Holtmann 43fb36d015 udev: Fix whitespace damage 2011-07-22 11:19:19 +02:00
Bertrand Aygon f6d2a39d71 udev: add support for SpeedUp CDMA dongles. 2011-07-22 11:18:18 +02:00
Denis Kenzior ed4a5ac174 hfp_ag: Minor style tweaks 2011-07-21 20:25:04 -05:00
Frédéric Danis acf95155d0 hfp_ag: start server on sim 'ready' state
update HFP AG server to start only when a modem has its SIM atom
in 'ready' state and has voice call capability
2011-07-21 20:21:59 -05:00
Denis Kenzior abcd29b5cf phonesim: Implement 'local' hfp driver 2011-07-21 03:49:27 -05:00
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