platform/upstream/ofono.git
12 years agoisimodem: Add missing codepoints and debugs
Iiro Kaihlaniemi [Fri, 19 Aug 2011 12:30:12 +0000 (15:30 +0300)]
isimodem: Add missing codepoints and debugs

12 years agoTODO: Add cbs umts format task
Denis Kenzior [Mon, 22 Aug 2011 04:16:46 +0000 (23:16 -0500)]
TODO: Add cbs umts format task

12 years agoTODO: Add CPHS SPN and short-SPN tasks
Denis Kenzior [Mon, 22 Aug 2011 04:13:53 +0000 (23:13 -0500)]
TODO: Add CPHS SPN and short-SPN tasks

12 years agohso: Switch modem to use error numbers instead of strings
Marcel Holtmann [Tue, 23 Aug 2011 00:42:36 +0000 (17:42 -0700)]
hso: Switch modem to use error numbers instead of strings

12 years agovoicecall: Relax reqs for hangup of held calls
Denis Kenzior [Fri, 19 Aug 2011 00:28:40 +0000 (19:28 -0500)]
voicecall: Relax reqs for hangup of held calls

If we have a single held call, then it should be possible to hang it up
with 'Hangup' even if active calls exist.  Only if multiple held calls
or a waiting call exists should we disallow the request due to possible
side-effects.

12 years agovoicecall: Move stuff around
Denis Kenzior [Fri, 19 Aug 2011 00:28:20 +0000 (19:28 -0500)]
voicecall: Move stuff around

12 years agogprs: Experimental fix for twitchy Huawei firmware
Denis Kenzior [Tue, 26 Jul 2011 02:42:35 +0000 (21:42 -0500)]
gprs: Experimental fix for twitchy Huawei firmware

12 years agonetwork: Fix crash with an empty mcc/mnc cops list
Denis Kenzior [Thu, 18 Aug 2011 18:46:58 +0000 (13:46 -0500)]
network: Fix crash with an empty mcc/mnc cops list

Some hardware returns an empty mcc/mnc operator during an operator scan
when no operators are found (e.g. on an LTE dongle in a non-LTE area).
This results in oFono mistaking trying to update a non-existent operator
object.

For reference:
ofonod[27532]: Device: < \r\n+NWSTATEIND: 4\r\n\r\n+COPS:
(0,"","","",255),,(0-4),(0-2)\r\n\r
\nOK\r\n
process 27532: arguments to dbus_message_new_signal() were incorrect,
assertion "_dbus_check_
is_valid_path (path)" failed in file dbus-message.c line 1289.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace

12 years agoudev: Fix typo for Huawei diagnostic interfaces
Daniel Wagner [Wed, 17 Aug 2011 01:50:05 +0000 (18:50 -0700)]
udev: Fix typo for Huawei diagnostic interfaces

12 years agoplugin: Use weak reference for external debug statements
Marcel Holtmann [Tue, 16 Aug 2011 16:15:53 +0000 (09:15 -0700)]
plugin: Use weak reference for external debug statements

12 years agoplugin: Use simpler version mismatch error
Marcel Holtmann [Mon, 15 Aug 2011 23:22:03 +0000 (16:22 -0700)]
plugin: Use simpler version mismatch error

12 years agoplugin: Add debug support for external plugins
Marcel Holtmann [Mon, 15 Aug 2011 23:16:36 +0000 (16:16 -0700)]
plugin: Add debug support for external plugins

12 years agolog: Use separate function for enable logging
Marcel Holtmann [Mon, 15 Aug 2011 23:12:26 +0000 (16:12 -0700)]
log: Use separate function for enable logging

12 years agocdma-voicecall: Implement SendTones method
Caiwen Zhang [Fri, 12 Aug 2011 09:20:00 +0000 (17:20 +0800)]
cdma-voicecall: Implement SendTones method

12 years agoinclude: Add send_tones to cdma voicecall driver API
Caiwen Zhang [Fri, 12 Aug 2011 09:20:00 +0000 (17:20 +0800)]
include: Add send_tones to cdma voicecall driver API

12 years agocdma-voicecall: Implement SendFlash method
Caiwen Zhang [Fri, 12 Aug 2011 09:19:46 +0000 (17:19 +0800)]
cdma-voicecall: Implement SendFlash method

12 years agoinclude: Add send_flash to cdma voicecall driver API
Caiwen Zhang [Fri, 12 Aug 2011 09:19:46 +0000 (17:19 +0800)]
include: Add send_flash to cdma voicecall driver API

12 years agocdma-voicecall: Implement Answer method
Caiwen Zhang [Fri, 12 Aug 2011 09:19:09 +0000 (17:19 +0800)]
cdma-voicecall: Implement Answer method

12 years agoinclude: Add cdma-voicecall answer driver API
Caiwen Zhang [Fri, 12 Aug 2011 09:19:09 +0000 (17:19 +0800)]
include: Add cdma-voicecall answer driver API

12 years agodoc: Reword features.txt entry
Denis Kenzior [Mon, 15 Aug 2011 05:28:56 +0000 (00:28 -0500)]
doc: Reword features.txt entry

12 years agoTODO: mark HFP AG emulator task as done
Frédéric Danis [Wed, 3 Aug 2011 13:53:41 +0000 (15:53 +0200)]
TODO: mark HFP AG emulator task as done

12 years agoemulator: fix indicator notification
Frédéric Danis [Thu, 4 Aug 2011 14:29:50 +0000 (16:29 +0200)]
emulator: fix indicator notification

12 years agogatserver: Add command finished callbacks
Denis Kenzior [Mon, 15 Aug 2011 05:22:07 +0000 (00:22 -0500)]
gatserver: Add command finished callbacks

12 years agostkagent: Define DBUS_TIMEOUT_INFINITE if undefined
Marcel Holtmann [Mon, 15 Aug 2011 18:15:20 +0000 (11:15 -0700)]
stkagent: Define DBUS_TIMEOUT_INFINITE if undefined

12 years agogatserver: Fix not processing after async error
Denis Kenzior [Mon, 15 Aug 2011 04:17:37 +0000 (23:17 -0500)]
gatserver: Fix not processing after async error

If we send an async error response, all future commands are ignored.

12 years agogatserver: Add sanity check
Denis Kenzior [Mon, 15 Aug 2011 04:11:20 +0000 (23:11 -0500)]
gatserver: Add sanity check

12 years agogatserver: Fix not sending OK final response
Denis Kenzior [Mon, 15 Aug 2011 04:11:03 +0000 (23:11 -0500)]
gatserver: Fix not sending OK final response

12 years agogatserver: Refactor IO code
Denis Kenzior [Mon, 15 Aug 2011 03:54:03 +0000 (22:54 -0500)]
gatserver: Refactor IO code

The current GAtServer implementation had nasty corner cases where
multiple commands were issued on the same command line.  The
server_suspend had no effect and we ended up processing the second
command anyway, resulting in interesting side-effects or crashes.

This commit simply discards the rest of the read input if the server
starts processing a command.  Since we do not yet support command
abortion we also discard data that arrives when command is being
processed.

12 years agostk: Use phonesim vendor for modem-handled cmds
Denis Kenzior [Thu, 11 Aug 2011 09:14:30 +0000 (04:14 -0500)]
stk: Use phonesim vendor for modem-handled cmds

12 years agostkagent: Use infinite timeouts
Denis Kenzior [Thu, 11 Aug 2011 09:13:28 +0000 (04:13 -0500)]
stkagent: Use infinite timeouts

for DisplayActionInformation and DisplayAction

12 years agodoc: Clarify DisplayActionInformation STK API
Denis Kenzior [Thu, 11 Aug 2011 09:13:01 +0000 (04:13 -0500)]
doc: Clarify DisplayActionInformation STK API

12 years agostk: Fix crashes
Denis Kenzior [Thu, 11 Aug 2011 06:59:57 +0000 (01:59 -0500)]
stk: Fix crashes

12 years agostk: Rewrite generic driver to use 27.007 commands
Denis Kenzior [Thu, 11 Aug 2011 06:59:35 +0000 (01:59 -0500)]
stk: Rewrite generic driver to use 27.007 commands

12 years agosim-poll: Remove unused code
Denis Kenzior [Thu, 11 Aug 2011 06:59:09 +0000 (01:59 -0500)]
sim-poll: Remove unused code

12 years agobuild: Do not install ofono.rules anymore
Marcel Holtmann [Fri, 12 Aug 2011 20:15:03 +0000 (13:15 -0700)]
build: Do not install ofono.rules anymore

12 years agoudev: Add automatic detection for Linktop devices
Marcel Holtmann [Thu, 11 Aug 2011 22:27:33 +0000 (15:27 -0700)]
udev: Add automatic detection for Linktop devices

12 years agoudev: Detect Diagnostic (QCDM) port for Telit devices
Marcel Holtmann [Thu, 11 Aug 2011 17:53:54 +0000 (10:53 -0700)]
udev: Detect Diagnostic (QCDM) port for Telit devices

12 years agoudev: Add automatic detection for Telit modems
Marcel Holtmann [Thu, 11 Aug 2011 17:40:59 +0000 (10:40 -0700)]
udev: Add automatic detection for Telit modems

12 years agoudev: Add support for automatic ISI USB modem detection
Marcel Holtmann [Thu, 11 Aug 2011 17:28:48 +0000 (10:28 -0700)]
udev: Add support for automatic ISI USB modem detection

12 years agoudev: Prepare for supporting different bus types
Marcel Holtmann [Thu, 11 Aug 2011 17:03:25 +0000 (10:03 -0700)]
udev: Prepare for supporting different bus types

12 years agoudev: Remove modem object when setup procedure fails
Marcel Holtmann [Thu, 11 Aug 2011 14:48:47 +0000 (07:48 -0700)]
udev: Remove modem object when setup procedure fails

12 years agoudev: Fix typo in Option HSO setup function
Marcel Holtmann [Thu, 11 Aug 2011 04:53:22 +0000 (21:53 -0700)]
udev: Fix typo in Option HSO setup function

12 years agoudev: Add automatic detection for Ericsson MBM based devices
Marcel Holtmann [Thu, 11 Aug 2011 04:52:40 +0000 (21:52 -0700)]
udev: Add automatic detection for Ericsson MBM based devices

12 years agoudev: Add support for Huawei E160 based devices with only two TTY
Marcel Holtmann [Thu, 11 Aug 2011 04:50:11 +0000 (21:50 -0700)]
udev: Add support for Huawei E160 based devices with only two TTY

12 years agogatchat: Fix marker handling within HDLC support
Marcel Holtmann [Wed, 10 Aug 2011 03:00:58 +0000 (20:00 -0700)]
gatchat: Fix marker handling within HDLC support

12 years agogatchat: Abort hexdump helper when no debug function is specified
Marcel Holtmann [Wed, 10 Aug 2011 03:00:18 +0000 (20:00 -0700)]
gatchat: Abort hexdump helper when no debug function is specified

12 years agogatchat: Fix extra empty line issue with hexdump helper
Marcel Holtmann [Wed, 10 Aug 2011 02:23:33 +0000 (19:23 -0700)]
gatchat: Fix extra empty line issue with hexdump helper

12 years agogatchat: Use hexdump format for HDLC debug messages
Marcel Holtmann [Wed, 10 Aug 2011 02:18:14 +0000 (19:18 -0700)]
gatchat: Use hexdump format for HDLC debug messages

12 years agogatchat: Add utility function for hexdump debugs
Marcel Holtmann [Wed, 10 Aug 2011 02:17:52 +0000 (19:17 -0700)]
gatchat: Add utility function for hexdump debugs

12 years agogatchat: Add support for sending HDLC frame start and end markers
Marcel Holtmann [Tue, 9 Aug 2011 20:40:10 +0000 (13:40 -0700)]
gatchat: Add support for sending HDLC frame start and end markers

12 years agoudev: Fix minor whitespace mistakes
Marcel Holtmann [Tue, 9 Aug 2011 17:30:46 +0000 (19:30 +0200)]
udev: Fix minor whitespace mistakes

12 years agonokiacdma: Fix minor whitespace mistakes
Marcel Holtmann [Tue, 9 Aug 2011 17:30:33 +0000 (19:30 +0200)]
nokiacdma: Fix minor whitespace mistakes

12 years agonokia: Fix minor whitespace mistakes
Marcel Holtmann [Tue, 9 Aug 2011 17:30:26 +0000 (19:30 +0200)]
nokia: Fix minor whitespace mistakes

12 years agoifx: Fix minor whitespace mistakes
Marcel Holtmann [Tue, 9 Aug 2011 17:30:14 +0000 (19:30 +0200)]
ifx: Fix minor whitespace mistakes

12 years agohso: Fix minor whitespace mistakes
Marcel Holtmann [Tue, 9 Aug 2011 17:30:10 +0000 (19:30 +0200)]
hso: Fix minor whitespace mistakes

12 years agombm: Fix minor whitespace mistakes
Marcel Holtmann [Tue, 9 Aug 2011 17:30:01 +0000 (19:30 +0200)]
mbm: Fix minor whitespace mistakes

12 years agophonesim: Fix minor whitespace mistakes
Marcel Holtmann [Tue, 9 Aug 2011 17:29:53 +0000 (19:29 +0200)]
phonesim: Fix minor whitespace mistakes

12 years agoste: Fix minor whitespace mistakes
Marcel Holtmann [Tue, 9 Aug 2011 17:29:46 +0000 (19:29 +0200)]
ste: Fix minor whitespace mistakes

12 years agotc65: Fix minor whitespace mistakes
Marcel Holtmann [Tue, 9 Aug 2011 17:29:35 +0000 (19:29 +0200)]
tc65: Fix minor whitespace mistakes

12 years agozte: Fix minor whitespace mistakes
Marcel Holtmann [Tue, 9 Aug 2011 17:21:58 +0000 (19:21 +0200)]
zte: Fix minor whitespace mistakes

12 years agoudev: Use standard modem properties for Novatel devices
Marcel Holtmann [Tue, 9 Aug 2011 17:19:39 +0000 (19:19 +0200)]
udev: Use standard modem properties for Novatel devices

12 years agonovatel: Use more standard values for control and modem channels
Marcel Holtmann [Tue, 9 Aug 2011 17:18:34 +0000 (19:18 +0200)]
novatel: Use more standard values for control and modem channels

12 years agoudev: Detect Diagnostic (QCDM) port for Huawei devices
Marcel Holtmann [Tue, 9 Aug 2011 17:06:57 +0000 (19:06 +0200)]
udev: Detect Diagnostic (QCDM) port for Huawei devices

12 years agoudev: Detect QCDM port for ZTE devices
Marcel Holtmann [Tue, 9 Aug 2011 17:02:20 +0000 (19:02 +0200)]
udev: Detect QCDM port for ZTE devices

12 years agoudev: Detect GPS and QCDM port for Gobi cards
Marcel Holtmann [Tue, 9 Aug 2011 17:00:38 +0000 (19:00 +0200)]
udev: Detect GPS and QCDM port for Gobi cards

12 years agoudev: Add debug output for special system attribute
Marcel Holtmann [Tue, 9 Aug 2011 16:47:44 +0000 (18:47 +0200)]
udev: Add debug output for special system attribute

12 years agoudev: udev: Add automatic detection for Nokia data cards
Marcel Holtmann [Tue, 9 Aug 2011 16:33:06 +0000 (18:33 +0200)]
udev: udev: Add automatic detection for Nokia data cards

12 years agonokia: Use post_online callback even without onfline/offline support
Marcel Holtmann [Tue, 9 Aug 2011 16:31:41 +0000 (18:31 +0200)]
nokia: Use post_online callback even without onfline/offline support

12 years agoudev: Add automatic detection for Olive V-ME101 HSIA modem
Marcel Holtmann [Tue, 9 Aug 2011 16:15:36 +0000 (18:15 +0200)]
udev: Add automatic detection for Olive V-ME101 HSIA modem

12 years agosamsung: Add skeleton driver for Samsung LTE device
Marcel Holtmann [Tue, 9 Aug 2011 16:08:51 +0000 (18:08 +0200)]
samsung: Add skeleton driver for Samsung LTE device

12 years agoatmodem: Samsung devices do not support CIND signal strength reporting
Marcel Holtmann [Tue, 9 Aug 2011 16:02:46 +0000 (18:02 +0200)]
atmodem: Samsung devices do not support CIND signal strength reporting

12 years agoalcatel: Add skeleton driver for Alcatel X220L device
Marcel Holtmann [Tue, 9 Aug 2011 16:00:37 +0000 (18:00 +0200)]
alcatel: Add skeleton driver for Alcatel X220L device

12 years agoudev: Add automatic detection for Alcatel X220L
Marcel Holtmann [Tue, 9 Aug 2011 15:58:13 +0000 (17:58 +0200)]
udev: Add automatic detection for Alcatel X220L

12 years agospeedup: Use post_online callback even without onfline/offline support
Marcel Holtmann [Tue, 9 Aug 2011 15:55:43 +0000 (17:55 +0200)]
speedup: Use post_online callback even without onfline/offline support

12 years agospeedup: Fix minor whitespace issue
Marcel Holtmann [Tue, 9 Aug 2011 15:46:49 +0000 (17:46 +0200)]
speedup: Fix minor whitespace issue

12 years agoudev: Use automatic detection for all SpeedUp modems
Marcel Holtmann [Tue, 9 Aug 2011 15:37:01 +0000 (17:37 +0200)]
udev: Use automatic detection for all SpeedUp modems

12 years agocdma-netreg: Initialize hdr strength
Denis Kenzior [Tue, 9 Aug 2011 18:34:24 +0000 (13:34 -0500)]
cdma-netreg: Initialize hdr strength

12 years agocdma-netreg: Implement HDR strength updates
Denis Kenzior [Tue, 9 Aug 2011 18:13:06 +0000 (13:13 -0500)]
cdma-netreg: Implement HDR strength updates

12 years agocdma-netreg: Minor whitespace style issues
Denis Kenzior [Tue, 9 Aug 2011 18:07:40 +0000 (13:07 -0500)]
cdma-netreg: Minor whitespace style issues

12 years agohuaweicdma: Implement 1X signal strength updates
Bertrand Aygon [Mon, 8 Aug 2011 12:13:19 +0000 (14:13 +0200)]
huaweicdma: Implement 1X signal strength updates

12 years agohuaweicdma: Enable netreg atom
Bertrand Aygon [Mon, 8 Aug 2011 12:13:18 +0000 (14:13 +0200)]
huaweicdma: Enable netreg atom

12 years agohuaweicdmamodem: Use a more common boolean pattern
Denis Kenzior [Tue, 9 Aug 2011 18:00:56 +0000 (13:00 -0500)]
huaweicdmamodem: Use a more common boolean pattern

12 years agohuaweicdma: Add netreg driver implementation
Bertrand Aygon [Mon, 8 Aug 2011 12:13:17 +0000 (14:13 +0200)]
huaweicdma: Add netreg driver implementation

12 years agovoicecall: Fix minor whitespace issue
Denis Kenzior [Tue, 9 Aug 2011 17:55:45 +0000 (12:55 -0500)]
voicecall: Fix minor whitespace issue

12 years agohfp_hf: retrieve AG version
Frédéric Danis [Mon, 8 Aug 2011 14:34:41 +0000 (16:34 +0200)]
hfp_hf: retrieve AG version

12 years agohfpmodem: Use an enum
Denis Kenzior [Mon, 8 Aug 2011 15:15:40 +0000 (10:15 -0500)]
hfpmodem: Use an enum

12 years agohfpmodem: fix hf features
Frédéric Danis [Mon, 8 Aug 2011 14:34:40 +0000 (16:34 +0200)]
hfpmodem: fix hf features

check audio gateway version and only set right features

12 years agoudev: Use semi-automatic detection for SpeedUp devices
Marcel Holtmann [Mon, 8 Aug 2011 15:09:42 +0000 (17:09 +0200)]
udev: Use semi-automatic detection for SpeedUp devices

12 years agoatmodem: Add vendor quirk entry for Samsung devices
Marcel Holtmann [Sun, 7 Aug 2011 15:28:33 +0000 (17:28 +0200)]
atmodem: Add vendor quirk entry for Samsung devices

12 years agotest: Add longer timeouts for basic modem operations
Marcel Holtmann [Sun, 7 Aug 2011 14:36:34 +0000 (16:36 +0200)]
test: Add longer timeouts for basic modem operations

12 years agoudev: Use fully automatic detection for Samsung LTE devices
Marcel Holtmann [Sun, 7 Aug 2011 14:35:43 +0000 (16:35 +0200)]
udev: Use fully automatic detection for Samsung LTE devices

12 years agoudev: Fix network interface detection for Option HSO
Marcel Holtmann [Sat, 6 Aug 2011 12:12:37 +0000 (14:12 +0200)]
udev: Fix network interface detection for Option HSO

12 years agoudev: Use fully automatic detection for Option HSO devices
Marcel Holtmann [Sat, 6 Aug 2011 12:06:16 +0000 (14:06 +0200)]
udev: Use fully automatic detection for Option HSO devices

12 years agoudev: Add support for automatic tagging of network interfaces
Marcel Holtmann [Sat, 6 Aug 2011 11:28:45 +0000 (13:28 +0200)]
udev: Add support for automatic tagging of network interfaces

12 years agoudev: Sort devices by interface number and not device node
Marcel Holtmann [Sat, 6 Aug 2011 11:18:28 +0000 (13:18 +0200)]
udev: Sort devices by interface number and not device node

12 years agoudev: Add support for default driver assignments
Marcel Holtmann [Sat, 6 Aug 2011 11:08:33 +0000 (13:08 +0200)]
udev: Add support for default driver assignments

If devices are not tagged with OFONO_DRIVER, then the driver will be
figured out based on kernel module name, vendor and/or product IDs.

Of course the manual tagging with OFONO_DRIVER as part of an udev
rule can always overwrite the default assignment.

12 years agoudev: Use ID_USB_INTERFACE_NUM property instead bInterfaceNumber
Marcel Holtmann [Sat, 6 Aug 2011 11:07:37 +0000 (13:07 +0200)]
udev: Use ID_USB_INTERFACE_NUM property instead bInterfaceNumber

12 years agoudev: Prioritize labeled interfaces over discovered ones
Marcel Holtmann [Sat, 6 Aug 2011 09:02:46 +0000 (11:02 +0200)]
udev: Prioritize labeled interfaces over discovered ones

12 years agoudev: Add warning in case channel gets disconnected
Marcel Holtmann [Sat, 6 Aug 2011 08:58:59 +0000 (10:58 +0200)]
udev: Add warning in case channel gets disconnected

12 years agoudevng: Fix minor whitespace violation
Denis Kenzior [Sat, 6 Aug 2011 01:05:33 +0000 (20:05 -0500)]
udevng: Fix minor whitespace violation