platform/upstream/ofono.git
13 years agoRevert "doc: Updated and clarified overview"
Aki Niemi [Thu, 3 Feb 2011 13:05:20 +0000 (15:05 +0200)]
Revert "doc: Updated and clarified overview"

This reverts commit 457b051928da7a831f7361b9bd156d494593ce04.

Meant only as request for comments.

13 years agoisimodem: fix problems in call state reporting
Pekka Pessi [Tue, 1 Feb 2011 22:22:09 +0000 (00:22 +0200)]
isimodem: fix problems in call state reporting

Do not report early incoming calls.

Report "disconnected" state separately.

Call ofono_voicecall_disconnected() only after call id is released.

13 years agodoc: Updated and clarified overview
Aki Niemi [Mon, 31 Jan 2011 09:07:47 +0000 (11:07 +0200)]
doc: Updated and clarified overview

Refined scope of the project, added smart messaging and push
notification, fixed typos and added IMS UA as an out-of-scope item.

13 years agopush-notification: Fix the nulling of the agent
Denis Kenzior [Wed, 2 Feb 2011 19:24:04 +0000 (13:24 -0600)]
push-notification: Fix the nulling of the agent

Same as the previous commit, but applies to push-notifications

13 years agosmart-messaging: set agent to NULL after free
Lucas De Marchi [Wed, 2 Feb 2011 18:53:32 +0000 (16:53 -0200)]
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()

13 years agoexamples: fix issue with dst print
Jeevaka Badrappan [Wed, 2 Feb 2011 13:10:46 +0000 (15:10 +0200)]
examples: fix issue with dst print

13 years agoinclude: fix comment on dst value
Jeevaka Badrappan [Wed, 2 Feb 2011 13:10:45 +0000 (15:10 +0200)]
include: fix comment on dst value

13 years agoTODO: Mark long phone number support task as done
Denis Kenzior [Tue, 1 Feb 2011 16:36:41 +0000 (10:36 -0600)]
TODO: Mark long phone number support task as done

13 years agotest: test-sms test script added
Konrad Slowinski [Wed, 2 Feb 2011 10:44:41 +0000 (12:44 +0200)]
test: test-sms test script added

13 years agostk: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 08:55:24 +0000 (10:55 +0200)]
stk: Fix style issues

13 years agostkutil: Remove trailing WS
Aki Niemi [Wed, 2 Feb 2011 08:55:14 +0000 (10:55 +0200)]
stkutil: Remove trailing WS

13 years agoutil: Fix style issue with long lines
Aki Niemi [Wed, 2 Feb 2011 08:51:35 +0000 (10:51 +0200)]
util: Fix style issue with long lines

13 years agosms: Fix indentation
Aki Niemi [Wed, 2 Feb 2011 08:49:21 +0000 (10:49 +0200)]
sms: Fix indentation

13 years agosimutil: Remove trailing WS
Aki Niemi [Wed, 2 Feb 2011 08:49:11 +0000 (10:49 +0200)]
simutil: Remove trailing WS

13 years agosim: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 08:48:54 +0000 (10:48 +0200)]
sim: Fix style issues

13 years agosimfs: Add NULL check
Aki Niemi [Wed, 2 Feb 2011 08:48:37 +0000 (10:48 +0200)]
simfs: Add NULL check

13 years agomessage-waiting: Fix indentation
Aki Niemi [Wed, 2 Feb 2011 08:47:06 +0000 (10:47 +0200)]
message-waiting: Fix indentation

13 years agocbs: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 08:46:44 +0000 (10:46 +0200)]
cbs: Fix style issues

13 years agocall-volume: Fix style issue
Aki Niemi [Wed, 2 Feb 2011 08:45:57 +0000 (10:45 +0200)]
call-volume: Fix style issue

13 years agocall-settings: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 08:45:44 +0000 (10:45 +0200)]
call-settings: Fix style issues

13 years agocall-barring: Fix style issue
Aki Niemi [Wed, 2 Feb 2011 08:45:19 +0000 (10:45 +0200)]
call-barring: Fix style issue

13 years agonetreg: Fix coding style, M12
Aki Niemi [Wed, 2 Feb 2011 07:51:34 +0000 (09:51 +0200)]
netreg: Fix coding style, M12

13 years agocall-forwarding: Remove useless curly brackets
Aki Niemi [Wed, 2 Feb 2011 08:18:35 +0000 (10:18 +0200)]
call-forwarding: Remove useless curly brackets

13 years agosimutil: Add checks for NULL
Aki Niemi [Wed, 2 Feb 2011 07:49:17 +0000 (09:49 +0200)]
simutil: Add checks for NULL

13 years agoaudio-settings: Fix style, use tabs to indent
Aki Niemi [Wed, 2 Feb 2011 08:16:54 +0000 (10:16 +0200)]
audio-settings: Fix style, use tabs to indent

13 years agocall-meter: Fix style issues
Aki Niemi [Wed, 2 Feb 2011 09:03:10 +0000 (11:03 +0200)]
call-meter: Fix style issues

13 years agoisimodem: fix crash in sms driver
Pekka Pessi [Tue, 1 Feb 2011 20:37:09 +0000 (22:37 +0200)]
isimodem: fix crash in sms driver

13 years agodrivers: fix misspellings
Lucas De Marchi [Tue, 1 Feb 2011 17:32:50 +0000 (15:32 -0200)]
drivers: fix misspellings

13 years agotest: fix misspelling
Lucas De Marchi [Tue, 1 Feb 2011 17:32:52 +0000 (15:32 -0200)]
test: fix misspelling

13 years agoplugins: fix misspelling
Lucas De Marchi [Tue, 1 Feb 2011 17:32:51 +0000 (15:32 -0200)]
plugins: fix misspelling

13 years agodoc: fix misspelling
Lucas De Marchi [Tue, 1 Feb 2011 17:32:49 +0000 (15:32 -0200)]
doc: fix misspelling

13 years agoTODO: fix misspelling
Lucas De Marchi [Tue, 1 Feb 2011 17:32:48 +0000 (15:32 -0200)]
TODO: fix misspelling

13 years agostemodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:50 +0000 (15:12 -0200)]
stemodem: use ofono_call initializer

13 years agoisimodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:49 +0000 (15:12 -0200)]
isimodem: use ofono_call initializer

13 years agoifxmodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:48 +0000 (15:12 -0200)]
ifxmodem: use ofono_call initializer

13 years agohfpmodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:46 +0000 (15:12 -0200)]
hfpmodem: use ofono_call initializer

13 years agohuaweimodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:47 +0000 (15:12 -0200)]
huaweimodem: use ofono_call initializer

13 years agocalypsomodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:45 +0000 (15:12 -0200)]
calypsomodem: use ofono_call initializer

13 years agoatmodem: use ofono_call initializer
Lucas De Marchi [Tue, 1 Feb 2011 17:12:44 +0000 (15:12 -0200)]
atmodem: use ofono_call initializer

13 years agocommon: implement initializer for ofono_call
Lucas De Marchi [Tue, 1 Feb 2011 17:12:43 +0000 (15:12 -0200)]
common: implement initializer for ofono_call

13 years agoinclude: define initializer for ofono_call
Lucas De Marchi [Tue, 1 Feb 2011 17:12:42 +0000 (15:12 -0200)]
include: define initializer for ofono_call

Some fields in struct ofono_call such as cnap_validity and clip_validity
are not correctly initialized as 0 since this means they are present. If
driver does not implement the necessary handlers, it might send to core
an ofono_call signalling that cnap and clip are available when they are
actually not.

13 years agoste: Add support for CBS interface
Lasse Kunnasluoto [Tue, 1 Feb 2011 14:49:47 +0000 (16:49 +0200)]
ste: Add support for CBS interface

STE modems support standard AT commands in CBS

13 years agoatmodem: Add pin retry count support for mbm
Jeevaka Badrappan [Tue, 1 Feb 2011 13:45:47 +0000 (05:45 -0800)]
atmodem: Add pin retry count support for mbm

13 years agoatmodem: implement standard PIN retries
Rémi Denis-Courmont [Mon, 31 Jan 2011 12:48:20 +0000 (14:48 +0200)]
atmodem: implement standard PIN retries

13 years agostemodem: fix issue with gatchat usage
Jeevaka Badrappan [Sat, 29 Jan 2011 19:03:37 +0000 (11:03 -0800)]
stemodem: fix issue with gatchat usage

13 years agombm: add radio-settings support
Jeevaka Badrappan [Mon, 31 Jan 2011 08:30:51 +0000 (00:30 -0800)]
mbm: add radio-settings support

13 years agobuild: Support for pkg-config
Rémi Denis-Courmont [Mon, 31 Jan 2011 08:37:22 +0000 (10:37 +0200)]
build: Support for pkg-config

13 years agobtio: Fix email address in copyright header
Marcel Holtmann [Sun, 30 Jan 2011 09:56:37 +0000 (10:56 +0100)]
btio: Fix email address in copyright header

13 years agobtio: Get mode option for L2CAP sockets
Santiago Carot-Nemesio [Mon, 18 Oct 2010 13:21:42 +0000 (15:21 +0200)]
btio: Get mode option for L2CAP sockets

13 years agobtio: Add L2CAP fixed channels support
Claudio Takahasi [Tue, 20 Jul 2010 21:33:40 +0000 (18:33 -0300)]
btio: Add L2CAP fixed channels support

Add new option BT_IO_OPT_CID to allow listen and connect using a fixed
L2CAP channel for BTIO.

13 years agoatmodem: fix memory leak
Jeevaka Badrappan [Sat, 29 Jan 2011 18:21:21 +0000 (10:21 -0800)]
atmodem: fix memory leak

13 years agohfpmodem: fix memory leak
Jeevaka Badrappan [Sat, 29 Jan 2011 18:24:12 +0000 (10:24 -0800)]
hfpmodem: fix memory leak

13 years agotest: Fix disabling of delivery reports
Marcel Holtmann [Sat, 29 Jan 2011 17:51:24 +0000 (18:51 +0100)]
test: Fix disabling of delivery reports

13 years agoatmodem: The Gobi devices don't support SMS ACK PDUs either
Marcel Holtmann [Sat, 29 Jan 2011 17:34:10 +0000 (18:34 +0100)]
atmodem: The Gobi devices don't support SMS ACK PDUs either

13 years agoplugins: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:44 +0000 (05:34 -0800)]
plugins: remove NULL check

13 years agocdmamodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:43 +0000 (05:34 -0800)]
cdmamodem: remove NULL check

13 years agostemodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:42 +0000 (05:34 -0800)]
stemodem: remove NULL check

13 years agombmmodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:41 +0000 (05:34 -0800)]
mbmmodem: remove NULL check

13 years agoifxmodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:40 +0000 (05:34 -0800)]
ifxmodem: remove NULL check

13 years agohuaweimodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:39 +0000 (05:34 -0800)]
huaweimodem: remove NULL check

13 years agohsomodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:38 +0000 (05:34 -0800)]
hsomodem: remove NULL check

13 years agohfpmodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:37 +0000 (05:34 -0800)]
hfpmodem: remove NULL check

13 years agocalypsomodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:36 +0000 (05:34 -0800)]
calypsomodem: remove NULL check

13 years agoatmodem: remove NULL check
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:35 +0000 (05:34 -0800)]
atmodem: remove NULL check

13 years agoatutil: use g_new0 for callback data memory
Jeevaka Badrappan [Sat, 29 Jan 2011 13:34:34 +0000 (05:34 -0800)]
atutil: use g_new0 for callback data memory

13 years agosimfs: Return from sim_fs_op_check_cached on error
Andrzej Zaborowski [Sat, 29 Jan 2011 00:29:18 +0000 (01:29 +0100)]
simfs: Return from sim_fs_op_check_cached on error

13 years agosimfs: Reset op_source in simfs_read_block
Andrzej Zaborowski [Sat, 29 Jan 2011 00:29:17 +0000 (01:29 +0100)]
simfs: Reset op_source in simfs_read_block

If the block is not in cache or if this is the last block of a last
op in the queue, then fs->op_source might be left with the wrong
value.

13 years agogobi: Use permissive AT syntax parser
Marcel Holtmann [Sat, 29 Jan 2011 16:43:13 +0000 (17:43 +0100)]
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.

13 years agoRelease 0.40 0.40
Marcel Holtmann [Sat, 29 Jan 2011 09:38:44 +0000 (10:38 +0100)]
Release 0.40

13 years agotc65: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:34:31 +0000 (10:34 +0100)]
tc65: Move SMS support into post_sim stage

13 years agohso: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:33:53 +0000 (10:33 +0100)]
hso: Move SMS support into post_sim stage

13 years agozte: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:32:36 +0000 (10:32 +0100)]
zte: Move SMS support into post_sim stage

13 years agonovatel: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:31:16 +0000 (10:31 +0100)]
novatel: Move SMS support into post_sim stage

13 years agohuawei: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:30:03 +0000 (10:30 +0100)]
huawei: Move SMS support into post_sim stage

13 years agoste: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:29:20 +0000 (10:29 +0100)]
ste: Move SMS support into post_sim stage

13 years agombm: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:28:47 +0000 (10:28 +0100)]
mbm: Move SMS support into post_sim stage

13 years agoifx: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:28:05 +0000 (10:28 +0100)]
ifx: Move SMS support into post_sim stage

13 years agogobi: Move SMS support into post_sim stage
Marcel Holtmann [Sat, 29 Jan 2011 09:26:52 +0000 (10:26 +0100)]
gobi: Move SMS support into post_sim stage

13 years agoTODO: Mark persist outgoing messages task as done
Denis Kenzior [Sat, 29 Jan 2011 02:35:27 +0000 (20:35 -0600)]
TODO: Mark persist outgoing messages task as done

13 years agosmsutil: do not allow larger file names
Lucas De Marchi [Fri, 28 Jan 2011 02:48:59 +0000 (00:48 -0200)]
smsutil: do not allow larger file names

If file name had anything in the name after addr-msgid, it would be
parsed as well. This is not what we want, since there could be temporary
files lying around.

13 years agotest: Add test for listing messages
Denis Kenzior [Sat, 29 Jan 2011 02:29:15 +0000 (20:29 -0600)]
test: Add test for listing messages

13 years agophonesim: Move sms atom to post_sim state
Denis Kenzior [Sat, 29 Jan 2011 02:28:36 +0000 (20:28 -0600)]
phonesim: Move sms atom to post_sim state

13 years agosmsutil: Don't bother renaming to the same name
Denis Kenzior [Sat, 29 Jan 2011 02:27:58 +0000 (20:27 -0600)]
smsutil: Don't bother renaming to the same name

In sms_tx_queue_load, if the resulting file is the same (which is quite
often the case) then don't bother trying to rename it.

13 years agosmsutil: Fix corner case during tx queue loading
Denis Kenzior [Sat, 29 Jan 2011 02:07:24 +0000 (20:07 -0600)]
smsutil: Fix corner case during tx queue loading

If there are extraneous files in the directory when it is being loaded,
then the index used to rename the old file into the new file can get out
of sync with what the core expects.

13 years agosmsutil: simplify tx backup loading
Denis Kenzior [Sat, 29 Jan 2011 01:51:32 +0000 (19:51 -0600)]
smsutil: simplify tx backup loading

glib functions as a rule do not use g_try* variations.  They use
g_malloc instead, so there's no need to check for out of memory
conditions.

13 years agosms: restore pending tx messages from backup
Lucas De Marchi [Fri, 28 Jan 2011 02:39:57 +0000 (00:39 -0200)]
sms: restore pending tx messages from backup

Based on patch from: Kristen Carlson Accardi <kristen@linux.intel.com>

13 years agosms: delete sent sms messages from backup
Lucas De Marchi [Fri, 28 Jan 2011 02:39:56 +0000 (00:39 -0200)]
sms: delete sent sms messages from backup

Based on patch from Kristen Carlson Accardi <kristen@linux.intel.com>

13 years agosms: store pending tx pdus on disk
Lucas De Marchi [Fri, 28 Jan 2011 02:39:55 +0000 (00:39 -0200)]
sms: store pending tx pdus on disk

Based on patch from Kristen Carlson Accardi <kristen@linux.intel.com>

13 years agoTODO: add CF state change task
Jarko Poutiainen [Fri, 28 Jan 2011 13:14:04 +0000 (15:14 +0200)]
TODO: add CF state change task

13 years agobuild: Add option to specify systemd unit directory
Marcel Holtmann [Fri, 28 Jan 2011 12:47:59 +0000 (13:47 +0100)]
build: Add option to specify systemd unit directory

13 years agoudev: Enable Dell 5540 AGPS interface
Zhigang Li [Fri, 28 Jan 2011 04:56:04 +0000 (12:56 +0800)]
udev: Enable Dell 5540 AGPS interface

13 years agosierra: Use vendor quirk for SIM driver
Marcel Holtmann [Thu, 27 Jan 2011 14:50:00 +0000 (15:50 +0100)]
sierra: Use vendor quirk for SIM driver

13 years agoatmodem: Add Sierra vendor quirk for SIM file reading
Marcel Holtmann [Thu, 27 Jan 2011 14:49:32 +0000 (15:49 +0100)]
atmodem: Add Sierra vendor quirk for SIM file reading

13 years agoatmodem: Add vendor entry for Sierra Wireless
Marcel Holtmann [Thu, 27 Jan 2011 14:47:16 +0000 (15:47 +0100)]
atmodem: Add vendor entry for Sierra Wireless

13 years agosierra: Add support GPRS registration
Marcel Holtmann [Thu, 27 Jan 2011 14:41:12 +0000 (15:41 +0100)]
sierra: Add support GPRS registration

13 years agosierra: Add support for online mode
Marcel Holtmann [Thu, 27 Jan 2011 14:35:56 +0000 (15:35 +0100)]
sierra: Add support for online mode

13 years agonovatel: Handle modem enable errors properly
Marcel Holtmann [Thu, 27 Jan 2011 14:31:06 +0000 (15:31 +0100)]
novatel: Handle modem enable errors properly

13 years agon900: fix set online
Kai Vehmanen [Thu, 27 Jan 2011 10:51:32 +0000 (12:51 +0200)]
n900: fix set online

Invalid MTC_STATE_REQ messages were sent, causing failures in going
online.

13 years agoisimodem: Fix race condition in SIM probe
Aki Niemi [Thu, 27 Jan 2011 07:36:51 +0000 (09:36 +0200)]
isimodem: Fix race condition in SIM probe

Fix a potential race condition between HPLMN query and subscribing to
SIM status indications.

13 years agomessage-waiting: check for NULL argument
Pekka Pessi [Fri, 21 Jan 2011 12:44:04 +0000 (14:44 +0200)]
message-waiting: check for NULL argument