platform/upstream/ofono.git
14 years agotest: add script to control fast dormancy
Mika Liljeberg [Tue, 26 Oct 2010 15:31:51 +0000 (18:31 +0300)]
test: add script to control fast dormancy

14 years agoradio-settings: Don't check for cached
Denis Kenzior [Thu, 28 Oct 2010 03:16:57 +0000 (22:16 -0500)]
radio-settings: Don't check for cached

Checking for this flag does not have the desired effect, or rather it
has other side-effects (e.g. setting the property twice before
GetProperties).  oFono discourages spurious signal emission.

14 years agoradio-settings: Add extra newlines
Denis Kenzior [Thu, 28 Oct 2010 01:32:02 +0000 (20:32 -0500)]
radio-settings: Add extra newlines

To be compliant with the coding style

14 years agoradio settings: add FastDormancy property
Mika Liljeberg [Tue, 26 Oct 2010 15:31:50 +0000 (18:31 +0300)]
radio settings: add FastDormancy property

14 years agoFix string array memory leaks during plugin loading
Johan Hedberg [Wed, 27 Oct 2010 20:21:05 +0000 (16:21 -0400)]
Fix string array memory leaks during plugin loading

14 years agoTODO: Remove SOCKS5 proxy task
Marcel Holtmann [Wed, 27 Oct 2010 23:15:29 +0000 (01:15 +0200)]
TODO: Remove SOCKS5 proxy task

The setup of GRPS context for MMS and its proxy configuration is now
done with host routes and dedicated interfaces. The need for a SOCKS5
proxy is no longer there.

The on-demand context activation can be considered a security risk
and activation via D-Bus method calls is easier to control in a
secure fashion. So this is not needed either.

14 years agogprs-context: Replace TYPE_INVALID with TYPE_ANY
Denis Kenzior [Wed, 27 Oct 2010 17:39:46 +0000 (12:39 -0500)]
gprs-context: Replace TYPE_INVALID with TYPE_ANY

14 years agoifxmodem: Notify core about handled commands
Denis Kenzior [Wed, 27 Oct 2010 17:23:26 +0000 (12:23 -0500)]
ifxmodem: Notify core about handled commands

14 years agombmmodem: Notify core about handled commands
Denis Kenzior [Wed, 27 Oct 2010 17:20:37 +0000 (12:20 -0500)]
mbmmodem: Notify core about handled commands

14 years agocalypsomodem: Notify core about handled commands
Denis Kenzior [Wed, 27 Oct 2010 17:13:34 +0000 (12:13 -0500)]
calypsomodem: Notify core about handled commands

14 years agostk: Remove ofono_stk_terminal_response_sent_notify
Denis Kenzior [Wed, 27 Oct 2010 17:10:17 +0000 (12:10 -0500)]
stk: Remove ofono_stk_terminal_response_sent_notify

Not needed for now.  We can always put this back in later if need be.

14 years agostk: Handle more commands in handled_notify
Andrzej Zaborowski [Tue, 26 Oct 2010 08:52:05 +0000 (10:52 +0200)]
stk: Handle more commands in handled_notify

14 years agogprs: Use common function for default name of default Internet context
Marcel Holtmann [Wed, 27 Oct 2010 16:14:50 +0000 (18:14 +0200)]
gprs: Use common function for default name of default Internet context

14 years agoDocument ims connection type
Pekka Pessi [Wed, 27 Oct 2010 14:40:29 +0000 (17:40 +0300)]
Document ims connection type

14 years agogprs-context: add IMS connection type
Pekka Pessi [Wed, 27 Oct 2010 14:38:01 +0000 (17:38 +0300)]
gprs-context: add IMS connection type

14 years agogprs: Add host route to the configured MMS proxy
Marcel Holtmann [Wed, 27 Oct 2010 14:09:27 +0000 (16:09 +0200)]
gprs: Add host route to the configured MMS proxy

14 years agogprs: Set IP address for GPRS contexts of type MMS
Marcel Holtmann [Wed, 27 Oct 2010 13:25:25 +0000 (15:25 +0200)]
gprs: Set IP address for GPRS contexts of type MMS

14 years agogprs: Add support for exposing proxy information for MMS context
Marcel Holtmann [Wed, 27 Oct 2010 13:09:33 +0000 (15:09 +0200)]
gprs: Add support for exposing proxy information for MMS context

14 years agombmmodem: Print IP details after GPRS context setup
Marcel Holtmann [Wed, 27 Oct 2010 12:55:13 +0000 (14:55 +0200)]
mbmmodem: Print IP details after GPRS context setup

14 years agoatmodem: Print IP details after GPRS context setup
Marcel Holtmann [Wed, 27 Oct 2010 12:54:46 +0000 (14:54 +0200)]
atmodem: Print IP details after GPRS context setup

14 years agogprs: Add support for selecting GPRS context drivers based on types
Marcel Holtmann [Wed, 27 Oct 2010 12:43:32 +0000 (14:43 +0200)]
gprs: Add support for selecting GPRS context drivers based on types

14 years agomain: Enable active capability dropping
Marcel Holtmann [Wed, 27 Oct 2010 12:03:13 +0000 (14:03 +0200)]
main: Enable active capability dropping

14 years agogprs: Add flag to track usage of GPRS context drivers
Marcel Holtmann [Wed, 27 Oct 2010 11:56:12 +0000 (13:56 +0200)]
gprs: Add flag to track usage of GPRS context drivers

14 years agombmmodem: Remove some pointless debug prefix strings
Marcel Holtmann [Wed, 27 Oct 2010 11:28:55 +0000 (13:28 +0200)]
mbmmodem: Remove some pointless debug prefix strings

14 years agogprs: Extract GPRS context assignment into separate function
Marcel Holtmann [Wed, 27 Oct 2010 09:53:37 +0000 (11:53 +0200)]
gprs: Extract GPRS context assignment into separate function

14 years agombm: Fix setting GPRS context type for wrong atom
Marcel Holtmann [Wed, 27 Oct 2010 09:53:13 +0000 (11:53 +0200)]
mbm: Fix setting GPRS context type for wrong atom

14 years agombm: Set specific GPRS context type for different atoms
Marcel Holtmann [Wed, 27 Oct 2010 09:37:17 +0000 (11:37 +0200)]
mbm: Set specific GPRS context type for different atoms

14 years agogprs: Add support for setting GPRS context type
Marcel Holtmann [Wed, 27 Oct 2010 09:34:54 +0000 (11:34 +0200)]
gprs: Add support for setting GPRS context type

14 years agogprs: Make GPRS context type a public enum
Marcel Holtmann [Wed, 27 Oct 2010 09:28:52 +0000 (11:28 +0200)]
gprs: Make GPRS context type a public enum

14 years agoifxmodem: Fix handling of radio access mode enum
Marcel Holtmann [Wed, 27 Oct 2010 09:06:05 +0000 (11:06 +0200)]
ifxmodem: Fix handling of radio access mode enum

14 years agohsomodem: Fix handling of radio access mode enum
Marcel Holtmann [Wed, 27 Oct 2010 09:05:59 +0000 (11:05 +0200)]
hsomodem: Fix handling of radio access mode enum

14 years agonwmodem: Fix handling of radio access mode enum
Marcel Holtmann [Wed, 27 Oct 2010 09:05:33 +0000 (11:05 +0200)]
nwmodem: Fix handling of radio access mode enum

14 years agombm: Handle TTY disconnect for PPP based GPRS context
Marcel Holtmann [Wed, 27 Oct 2010 00:02:41 +0000 (02:02 +0200)]
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.

14 years agombmmodem: Add some more GPRS context debug statements
Marcel Holtmann [Tue, 26 Oct 2010 23:40:25 +0000 (01:40 +0200)]
mbmmodem: Add some more GPRS context debug statements

14 years agohuaweimodem: Fix some GPRS context debug statements
Marcel Holtmann [Tue, 26 Oct 2010 23:34:02 +0000 (01:34 +0200)]
huaweimodem: Fix some GPRS context debug statements

14 years agoifxmodem: Add full set of GPRS context debug statements
Marcel Holtmann [Tue, 26 Oct 2010 23:31:54 +0000 (01:31 +0200)]
ifxmodem: Add full set of GPRS context debug statements

14 years agoatmodem: Add some more GPRS context debug statements
Marcel Holtmann [Tue, 26 Oct 2010 23:29:55 +0000 (01:29 +0200)]
atmodem: Add some more GPRS context debug statements

14 years agohuaweimodem: Add some more GPRS context debug statements
Marcel Holtmann [Tue, 26 Oct 2010 23:27:17 +0000 (01:27 +0200)]
huaweimodem: Add some more GPRS context debug statements

14 years agoifxmodem: Add some more GPRS context debug statements
Marcel Holtmann [Tue, 26 Oct 2010 23:25:56 +0000 (01:25 +0200)]
ifxmodem: Add some more GPRS context debug statements

14 years agombm: Use the variant specific enum in a cleaner way
Marcel Holtmann [Tue, 26 Oct 2010 23:18:42 +0000 (01:18 +0200)]
mbm: Use the variant specific enum in a cleaner way

14 years agombm: Use data port for second PPP based GPRS context
Marcel Holtmann [Tue, 26 Oct 2010 23:17:10 +0000 (01:17 +0200)]
mbm: Use data port for second PPP based GPRS context

14 years agogprs: Load stored MMS Proxy and MMSC settings
Marcel Holtmann [Tue, 26 Oct 2010 22:51:51 +0000 (00:51 +0200)]
gprs: Load stored MMS Proxy and MMSC settings

14 years agogprs: Use better default name for context creation
Marcel Holtmann [Tue, 26 Oct 2010 21:19:54 +0000 (23:19 +0200)]
gprs: Use better default name for context creation

14 years agogprs: Add support for storing MMS Proxy and MMSC settings
Marcel Holtmann [Tue, 26 Oct 2010 21:14:58 +0000 (23:14 +0200)]
gprs: Add support for storing MMS Proxy and MMSC settings

14 years agoifxmodem: Add support GPRS contexts with username and password
Marcel Holtmann [Tue, 26 Oct 2010 20:50:00 +0000 (22:50 +0200)]
ifxmodem: Add support GPRS contexts with username and password

14 years agotest: Add script to change MMS Proxy and MMSC
Marcel Holtmann [Tue, 26 Oct 2010 20:35:43 +0000 (22:35 +0200)]
test: Add script to change MMS Proxy and MMSC

14 years agotest: Add scripts for creating Internet and MMS contexts
Marcel Holtmann [Tue, 26 Oct 2010 20:25:09 +0000 (22:25 +0200)]
test: Add scripts for creating Internet and MMS contexts

14 years agotest: Print interface name of static context configuration
Marcel Holtmann [Tue, 26 Oct 2010 15:20:47 +0000 (17:20 +0200)]
test: Print interface name of static context configuration

14 years agoifx: Add support for having three active GPRS contexts
Marcel Holtmann [Tue, 26 Oct 2010 15:05:23 +0000 (17:05 +0200)]
ifx: Add support for having three active GPRS contexts

The Infineon modem can at least support three active GPRS contexts in
M-RAW_IP mode. So use another DLC for the third context.

14 years agoifx: Use M-RAW_IP support only with internal multiplexer
Marcel Holtmann [Tue, 26 Oct 2010 15:00:52 +0000 (17:00 +0200)]
ifx: Use M-RAW_IP support only with internal multiplexer

The GPRS context can only be fully supported with the internal multiplexer
right now. So use M-RAW_IP support in that case. If using a kernel based
multiplexer, then no GPRS context is provided.

14 years agogatchat: A full support for TUN/TAP pipe and GAtRawIP
Marcel Holtmann [Tue, 26 Oct 2010 14:57:35 +0000 (16:57 +0200)]
gatchat: A full support for TUN/TAP pipe and GAtRawIP

14 years agogatchat: Remove unused write_watch variable of GAtHDLC
Marcel Holtmann [Tue, 26 Oct 2010 13:16:35 +0000 (15:16 +0200)]
gatchat: Remove unused write_watch variable of GAtHDLC

14 years agoifxmodem: Fix GPRS disconnect handling from network side
Marcel Holtmann [Tue, 26 Oct 2010 12:43:49 +0000 (14:43 +0200)]
ifxmodem: Fix GPRS disconnect handling from network side

14 years agogprs: Assign GPRS atom to GPRS context atom
Marcel Holtmann [Tue, 26 Oct 2010 12:03:47 +0000 (14:03 +0200)]
gprs: Assign GPRS atom to GPRS context atom

If the GPRS atom is not assigned to the GPRS context atom, then possible
network triggered activation crashes.

14 years agoTODO: Mark Play Tone task as done
Denis Kenzior [Mon, 25 Oct 2010 22:44:46 +0000 (17:44 -0500)]
TODO: Mark Play Tone task as done

14 years agostk: Default to general beep if no tone is provided
Denis Kenzior [Mon, 25 Oct 2010 22:42:41 +0000 (17:42 -0500)]
stk: Default to general beep if no tone is provided

According to section 6.6.5 of 102.223

14 years agostk: Handle the Play Tone proactive command.
Andrzej Zaborowski [Mon, 25 Oct 2010 05:51:27 +0000 (07:51 +0200)]
stk: Handle the Play Tone proactive command.

14 years agostk: Add duration_to_msecs to reduce duplication.
Andrzej Zaborowski [Mon, 25 Oct 2010 05:51:26 +0000 (07:51 +0200)]
stk: Add duration_to_msecs to reduce duplication.

14 years agovoicecall: Limit tone string length per request.
Andrzej Zaborowski [Mon, 25 Oct 2010 05:51:25 +0000 (07:51 +0200)]
voicecall: Limit tone string length per request.

Also change to avoid memcpying into a buffer.

14 years agogprs: Return busy if ops are potentially colliding
Denis Kenzior [Mon, 25 Oct 2010 21:31:46 +0000 (16:31 -0500)]
gprs: Return busy if ops are potentially colliding

14 years agotest: add deactivate-all
Denis Kenzior [Mon, 25 Oct 2010 20:48:55 +0000 (15:48 -0500)]
test: add deactivate-all

Uses ConnectionManager DeactivateAll

14 years agogprs: Implement DeactivateAll()
Denis Kenzior [Mon, 25 Oct 2010 20:39:41 +0000 (15:39 -0500)]
gprs: Implement DeactivateAll()

14 years agomanager: Don't show modems which are not registered
Denis Kenzior [Mon, 25 Oct 2010 20:38:15 +0000 (15:38 -0500)]
manager: Don't show modems which are not registered

14 years agomodem: Add ofono_modem_is_registered
Denis Kenzior [Mon, 25 Oct 2010 20:37:16 +0000 (15:37 -0500)]
modem: Add ofono_modem_is_registered

14 years agophonesim: Fix missing return from plugin init
Marcel Holtmann [Mon, 25 Oct 2010 21:14:05 +0000 (23:14 +0200)]
phonesim: Fix missing return from plugin init

14 years agohuaweimodem: Add bits and pieces for NDIS receive handling
Marcel Holtmann [Mon, 25 Oct 2010 21:10:31 +0000 (23:10 +0200)]
huaweimodem: Add bits and pieces for NDIS receive handling

14 years agoifxmodem: Fix handling of AT+XDNS with multiple contexts
Marcel Holtmann [Mon, 25 Oct 2010 20:51:09 +0000 (22:51 +0200)]
ifxmodem: Fix handling of AT+XDNS with multiple contexts

14 years agophonesim: Register modem driver before creating modems
Marcel Holtmann [Mon, 25 Oct 2010 20:33:18 +0000 (22:33 +0200)]
phonesim: Register modem driver before creating modems

14 years agophonesim: Support multiple contexts
Denis Kenzior [Mon, 25 Oct 2010 19:42:59 +0000 (14:42 -0500)]
phonesim: Support multiple contexts

14 years agogprs: Support multiple active contexts
Denis Kenzior [Mon, 25 Oct 2010 19:42:46 +0000 (14:42 -0500)]
gprs: Support multiple active contexts

14 years agophonesim: Enable dummy phonesim contexts
Denis Kenzior [Mon, 25 Oct 2010 18:59:58 +0000 (13:59 -0500)]
phonesim: Enable dummy phonesim contexts

14 years agobuild: Add example configuration for phonesim plugin
Marcel Holtmann [Mon, 25 Oct 2010 18:48:55 +0000 (20:48 +0200)]
build: Add example configuration for phonesim plugin

14 years agobuild: Remove modemconf plugin support
Marcel Holtmann [Mon, 25 Oct 2010 18:43:05 +0000 (20:43 +0200)]
build: Remove modemconf plugin support

14 years agobuild: Don't include phonesim plugin if disabled
Marcel Holtmann [Mon, 25 Oct 2010 18:32:04 +0000 (20:32 +0200)]
build: Don't include phonesim plugin if disabled

14 years agobuild: Add option to disable phonesim modem plugin
Marcel Holtmann [Mon, 25 Oct 2010 18:23:56 +0000 (20:23 +0200)]
build: Add option to disable phonesim modem plugin

14 years agophonesim: Don't use modem.conf for phonesim modems
Marcel Holtmann [Mon, 25 Oct 2010 18:12:32 +0000 (20:12 +0200)]
phonesim: Don't use modem.conf for phonesim modems

14 years agoTODO: Marking the Barred Dialing task as done
Jeevaka Badrappan [Mon, 25 Oct 2010 11:34:17 +0000 (04:34 -0700)]
TODO: Marking the Barred Dialing task as done

14 years agodoc: Add BarredDialing property
Jeevaka Badrappan [Mon, 25 Oct 2010 11:34:16 +0000 (04:34 -0700)]
doc: Add BarredDialing property

14 years agosim: Fix minor style issue
Denis Kenzior [Mon, 25 Oct 2010 15:37:22 +0000 (10:37 -0500)]
sim: Fix minor style issue

14 years agosim: add barred dialing support
Jeevaka Badrappan [Mon, 25 Oct 2010 11:34:15 +0000 (04:34 -0700)]
sim: add barred dialing support

14 years agosimutil: add Efbdn fileid to sim_fileid enum
Jeevaka Badrappan [Mon, 25 Oct 2010 11:34:14 +0000 (04:34 -0700)]
simutil: add Efbdn fileid to sim_fileid enum

14 years agoMention Mika's contributions
Marcel Holtmann [Mon, 25 Oct 2010 14:35:35 +0000 (16:35 +0200)]
Mention Mika's contributions

14 years agoradio settings: document FastDormancy property
Mika Liljeberg [Mon, 25 Oct 2010 13:28:06 +0000 (16:28 +0300)]
radio settings: document FastDormancy property

14 years agoatmodem: Enable time zone reporting for Option modems
Marcel Holtmann [Mon, 25 Oct 2010 00:03:00 +0000 (02:03 +0200)]
atmodem: Enable time zone reporting for Option modems

14 years agoatmodem: Enable time update reporting for MBM modems
Marcel Holtmann [Sun, 24 Oct 2010 19:48:56 +0000 (21:48 +0200)]
atmodem: Enable time update reporting for MBM modems

14 years agoifx: Detect when DLC shutdown happens
Marcel Holtmann [Sun, 24 Oct 2010 18:15:45 +0000 (20:15 +0200)]
ifx: Detect when DLC shutdown happens

In case one of the DLCs shuts down, the system has an undefined state
and thus just shutdown the whole device.

14 years agoifx: Detect modems stuck in multiplexer mode
Marcel Holtmann [Sun, 24 Oct 2010 18:00:32 +0000 (20:00 +0200)]
ifx: Detect modems stuck in multiplexer mode

When the initial AT commands on the master device don't respond, then
the modem is stuck in multiplexer mode. For now just report an error.

14 years agogprs: Handle failure of GPRS context atom drivers
Marcel Holtmann [Sun, 24 Oct 2010 15:14:16 +0000 (17:14 +0200)]
gprs: Handle failure of GPRS context atom drivers

The GRPS context atom drivers can return an error from their probe
callbacks. In that case gc->driver is NULL and will cause a crash
when trying to activate a context. So check that there is actually
a driver attached to that GPRS context.

14 years agosimfs: Fix issue with sim_fs_op_error
Jeevaka Badrappan [Sun, 24 Oct 2010 12:04:03 +0000 (05:04 -0700)]
simfs: Fix issue with sim_fs_op_error

14 years agohuaweimodem: Increase NDIS setup time to 20 seconds
Marcel Holtmann [Sun, 24 Oct 2010 13:35:45 +0000 (15:35 +0200)]
huaweimodem: Increase NDIS setup time to 20 seconds

14 years agombmmodem: Check IP address with AT+CGPADDR for older modems
Marcel Holtmann [Sun, 24 Oct 2010 12:55:50 +0000 (14:55 +0200)]
mbmmodem: Check IP address with AT+CGPADDR for older modems

14 years agoRelease 0.33 0.33
Marcel Holtmann [Sat, 23 Oct 2010 11:51:05 +0000 (13:51 +0200)]
Release 0.33

14 years agoifx: Use PPP based GPRS context if M-RAW_IP is not available
Marcel Holtmann [Sat, 23 Oct 2010 10:57:42 +0000 (12:57 +0200)]
ifx: Use PPP based GPRS context if M-RAW_IP is not available

14 years agoTODO: Mark html text task as done
Denis Kenzior [Sat, 23 Oct 2010 03:52:35 +0000 (22:52 -0500)]
TODO: Mark html text task as done

14 years agoTODO: Mark Send DTMF task as done
Denis Kenzior [Sat, 23 Oct 2010 03:50:48 +0000 (22:50 -0500)]
TODO: Mark Send DTMF task as done

14 years agostk: Nitpick some newline issues
Denis Kenzior [Sat, 23 Oct 2010 03:39:56 +0000 (22:39 -0500)]
stk: Nitpick some newline issues

14 years agostk: Apply STK text attributes as html
Andrzej Zaborowski [Thu, 21 Oct 2010 05:09:08 +0000 (07:09 +0200)]
stk: Apply STK text attributes as html

14 years agoatmodem: Delay return from send_dtmf
Andrzej Zaborowski [Thu, 21 Oct 2010 05:09:07 +0000 (07:09 +0200)]
atmodem: Delay return from send_dtmf

AT+VTS responds with an OK immediately, so add a wait in the driver
before returning so that core knows when the tone has finished.  Note
that some modems actually do wait against 27.007, and other modems
use a manufacturer specific AT command and the drivers will need to
handle accordingly.

14 years agostk: use null character instead of 0
Denis Kenzior [Sat, 23 Oct 2010 03:28:04 +0000 (22:28 -0500)]
stk: use null character instead of 0

Slightly better readability

14 years agostk: Remove reference to positive EINVAL
Denis Kenzior [Sat, 23 Oct 2010 03:25:20 +0000 (22:25 -0500)]
stk: Remove reference to positive EINVAL

Move it to the original call where it belongs