platform/upstream/ofono.git
13 years agocoding_style: Add case for enum as switch variable
Yang Gu [Tue, 2 Nov 2010 14:21:37 +0000 (22:21 +0800)]
coding_style: Add case for enum as switch variable

13 years agocoding_style: Fix enum name
Yang Gu [Tue, 2 Nov 2010 14:21:36 +0000 (22:21 +0800)]
coding_style: Fix enum name

13 years agotest: Add test-push-notification script
Denis Kenzior [Tue, 2 Nov 2010 15:52:30 +0000 (10:52 -0500)]
test: Add test-push-notification script

13 years agosms: Don't crash when encoding fails
Denis Kenzior [Tue, 2 Nov 2010 15:50:03 +0000 (10:50 -0500)]
sms: Don't crash when encoding fails

13 years agosmsutil: Additional sanity checks for decode_scts
Denis Kenzior [Tue, 2 Nov 2010 15:48:44 +0000 (10:48 -0500)]
smsutil: Additional sanity checks for decode_scts

13 years agoofono.conf: Punch hole for PushNotificationAgent
Denis Kenzior [Tue, 2 Nov 2010 15:45:57 +0000 (10:45 -0500)]
ofono.conf: Punch hole for PushNotificationAgent

13 years agopush-notification: Handle WAP push messages
Denis Kenzior [Mon, 1 Nov 2010 15:59:44 +0000 (10:59 -0500)]
push-notification: Handle WAP push messages

13 years agosms: Minor style fix
Denis Kenzior [Mon, 1 Nov 2010 15:24:29 +0000 (10:24 -0500)]
sms: Minor style fix

13 years agosms: Left shift 8-bit ports by 16
Denis Kenzior [Mon, 1 Nov 2010 15:19:10 +0000 (10:19 -0500)]
sms: Left shift 8-bit ports by 16

These are less commonly used so make them not interfere with 16 bit
ports

13 years agopush-notification: Free agent when sms atom exits
Denis Kenzior [Mon, 1 Nov 2010 15:13:59 +0000 (10:13 -0500)]
push-notification: Free agent when sms atom exits

13 years agopush-notification: Implement unregister agent
Denis Kenzior [Mon, 1 Nov 2010 15:04:39 +0000 (10:04 -0500)]
push-notification: Implement unregister agent

13 years agopush-notification: Implement register agent
Denis Kenzior [Mon, 1 Nov 2010 14:51:57 +0000 (09:51 -0500)]
push-notification: Implement register agent

13 years agopush-notification: Add skeleton
Denis Kenzior [Fri, 29 Oct 2010 19:45:31 +0000 (14:45 -0500)]
push-notification: Add skeleton

13 years agosmsagent: Add smsagent implementation
Denis Kenzior [Fri, 29 Oct 2010 19:24:27 +0000 (14:24 -0500)]
smsagent: Add smsagent implementation

Based on the patches by Aki Niemi

13 years agoTODO: update owner of see/cancel pending SMS task
Yang Gu [Mon, 1 Nov 2010 09:09:21 +0000 (17:09 +0800)]
TODO: update owner of see/cancel pending SMS task

13 years agomain: add capabilities for phonet
Mika Liljeberg [Mon, 1 Nov 2010 15:53:02 +0000 (17:53 +0200)]
main: add capabilities for phonet

Phonet sockets require CAP_SYS_ADMIN and SO_BINDTODEVICE socket
option requires CAP_NET_RAW.

13 years agoisigen: fix phonet address initialization
Mika Liljeberg [Mon, 1 Nov 2010 15:53:01 +0000 (17:53 +0200)]
isigen: fix phonet address initialization

13 years agoRelease 0.34 0.34
Marcel Holtmann [Mon, 1 Nov 2010 13:56:22 +0000 (14:56 +0100)]
Release 0.34

13 years agostemodem: Fix broken coding style
Marcel Holtmann [Sat, 30 Oct 2010 17:09:59 +0000 (19:09 +0200)]
stemodem: Fix broken coding style

13 years agoTODO: Owner of Read / Write EFcfis
Jeevaka Badrappan [Fri, 29 Oct 2010 06:13:43 +0000 (09:13 +0300)]
TODO: Owner of Read / Write EFcfis

13 years agoifxmodem: Enable emergency call state notifications
Marcel Holtmann [Fri, 29 Oct 2010 11:56:09 +0000 (13:56 +0200)]
ifxmodem: Enable emergency call state notifications

This enables the Infineon specific emergency call state notifications so
that they show up in the traces when this happens. No logic to handle
them properly is implemented.

13 years agoifx: Enable vendor quirk for GPRS atom
Marcel Holtmann [Fri, 29 Oct 2010 11:42:34 +0000 (13:42 +0200)]
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.

13 years agoatmodem: Add support for IFX specific GPRS suspend notification
Marcel Holtmann [Fri, 29 Oct 2010 11:39:27 +0000 (13:39 +0200)]
atmodem: Add support for IFX specific GPRS suspend notification

The Infineon modem informs about GPRS suspend cases. For example when
GPRS is active and a call is made. If the status changes, inform the
core about this change.

This uses GPRS_SUSPENDED_UNKNOWN_CAUSE reason since the modem does not
give a clear reason why GPRS was suspended. With this reason there is
a delay before the status change gets send out as D-Bus signal.

13 years agoatmodem: Add dummy handler for generic time zone update
Marcel Holtmann [Thu, 28 Oct 2010 17:11:18 +0000 (19:11 +0200)]
atmodem: Add dummy handler for generic time zone update

13 years agoatmodem: Time reporting on Infineon modem is IFX specific
Marcel Holtmann [Thu, 28 Oct 2010 17:05:29 +0000 (19:05 +0200)]
atmodem: Time reporting on Infineon modem is IFX specific

The time reporting via +CTZV and +CTZDST on the Infineon modem is not
following the standard. So mark these clearly as IFX specific.

13 years agoatmodem: Enable home zone reporting for IFX modems
Marcel Holtmann [Thu, 28 Oct 2010 17:01:55 +0000 (19:01 +0200)]
atmodem: Enable home zone reporting for IFX modems

For the Infineon modem the AT+XHOMEZR option can be set to get informed
about home zone labels. If this information is available, it it still
not properly used, but it shows up in the traces for reference.

13 years agoifxmodem: Enable Calling Name Presentation (CNAP) notifications
Marcel Holtmann [Thu, 28 Oct 2010 16:10:15 +0000 (18:10 +0200)]
ifxmodem: Enable Calling Name Presentation (CNAP) notifications

This enables the CNAP notifications so that they show up in the traces
if used by a network. No logic is implemented to handle them.

13 years agofeatures: Annotate modem-handled commands
Denis Kenzior [Thu, 28 Oct 2010 15:42:59 +0000 (10:42 -0500)]
features: Annotate modem-handled commands

13 years agoTODO: Mark Send USSD task as done
Denis Kenzior [Thu, 28 Oct 2010 15:41:17 +0000 (10:41 -0500)]
TODO: Mark Send USSD task as done

13 years agoTODO: Mark Send SS task as done
Denis Kenzior [Thu, 28 Oct 2010 15:37:27 +0000 (10:37 -0500)]
TODO: Mark Send SS task as done

13 years agostk: Handle Send SS in handled_notify
Denis Kenzior [Thu, 28 Oct 2010 15:37:05 +0000 (10:37 -0500)]
stk: Handle Send SS in handled_notify

13 years agoTODO: Add Provide Local Information command task
Denis Kenzior [Thu, 28 Oct 2010 14:19:37 +0000 (09:19 -0500)]
TODO: Add Provide Local Information command task

13 years agoTODO: mark fast dormancy as done
Mika Liljeberg [Tue, 26 Oct 2010 15:31:53 +0000 (18:31 +0300)]
TODO: mark fast dormancy as done

13 years agoisimodem: add support for FastDormancy property
Mika Liljeberg [Tue, 26 Oct 2010 15:31:52 +0000 (18:31 +0300)]
isimodem: add support for FastDormancy property

13 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

13 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.

13 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

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

13 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

13 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.

13 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

13 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

13 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

13 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

13 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.

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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.

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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.

13 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.

13 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

13 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

13 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

13 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.

13 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

13 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

13 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.

13 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.

13 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.

13 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

13 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

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

13 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

13 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

13 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

13 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