platform/upstream/ofono.git
13 years agovoicecall: add SSN function declarations
Andras Domokos [Fri, 4 Mar 2011 17:12:31 +0000 (19:12 +0200)]
voicecall: add SSN function declarations

13 years agossn: remove SSN atom completely
Andras Domokos [Fri, 4 Mar 2011 17:12:21 +0000 (19:12 +0200)]
ssn: remove SSN atom completely

13 years agogdbus: Unconditionally remove D-Bus timeouts
Grant Erickson [Thu, 3 Mar 2011 18:45:06 +0000 (10:45 -0800)]
gdbus: Unconditionally remove D-Bus timeouts

Address an issue in which the daemon incorrectly handles D-Bus main
loop timeouts by only removing timeouts that are not enabled when
D-Bus requests a timeout removal.

13 years agotest: display more properties in test-modem
Bertrand Aygon [Tue, 8 Mar 2011 15:08:41 +0000 (16:08 +0100)]
test: display more properties in test-modem

This includes Name, Online, Lockdown, etc.

13 years agodoc: other typos in radio-settings-api
Bertrand Aygon [Tue, 8 Mar 2011 13:18:05 +0000 (14:18 +0100)]
doc: other typos in radio-settings-api

13 years agodoc: typo in radio-settings-api
Bertrand Aygon [Tue, 8 Mar 2011 13:10:12 +0000 (14:10 +0100)]
doc: typo in radio-settings-api

13 years agotest: Add missing properties to test-call-settings
Bertrand Aygon [Fri, 4 Mar 2011 10:25:28 +0000 (11:25 +0100)]
test: Add missing properties to test-call-settings

13 years agotest: Allow specifiying the modem
Bertrand Aygon [Fri, 4 Mar 2011 10:22:53 +0000 (11:22 +0100)]
test: Allow specifiying the modem

in test/test-call-settings

13 years agoAUTHORS: Mention Bertrand's contributions
Denis Kenzior [Tue, 8 Mar 2011 19:18:34 +0000 (13:18 -0600)]
AUTHORS: Mention Bertrand's contributions

13 years agotest: Allow test/test-call-settings to exit
Bertrand Aygon [Fri, 4 Mar 2011 09:53:36 +0000 (10:53 +0100)]
test: Allow test/test-call-settings to exit

if new value is equal to actual value

13 years agohuawei: do not check for NULL pointer
Lucas De Marchi [Fri, 4 Mar 2011 13:10:13 +0000 (10:10 -0300)]
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.

13 years agombmmodem: do not check for NULL pointer
Lucas De Marchi [Fri, 4 Mar 2011 13:10:14 +0000 (10:10 -0300)]
mbmmodem: do not check for NULL pointer

cb_data_new() uses g_new0(), hence there's no need to check the return
value being NULL.

13 years agogisi: M6 coding style violation corrections
Antti Paila [Fri, 4 Mar 2011 08:28:44 +0000 (10:28 +0200)]
gisi: M6 coding style violation corrections

13 years agombmmodem: don't let chat open after fd is sent
Lucas De Marchi [Thu, 3 Mar 2011 22:23:27 +0000 (19:23 -0300)]
mbmmodem: don't let chat open after fd is sent

Instead of using a GAtChat, just use a GIOChannel and close it as soon
as its fd is sent to core.

13 years agodoc: Add basic information about hardware support
Marcel Holtmann [Thu, 3 Mar 2011 22:46:57 +0000 (14:46 -0800)]
doc: Add basic information about hardware support

13 years agoste: Add support for multiple AT channels
Lasse Kunnasluoto [Thu, 3 Mar 2011 11:21:51 +0000 (13:21 +0200)]
ste: Add support for multiple AT channels

13 years agoste: Minor style fixes
Denis Kenzior [Thu, 3 Mar 2011 19:38:32 +0000 (13:38 -0600)]
ste: Minor style fixes

13 years agoste: Reset have_sim appropriately
Jussi Kangas [Thu, 3 Mar 2011 11:45:12 +0000 (13:45 +0200)]
ste: Reset have_sim appropriately

13 years agoisimodem: removed unused NETWORK_TIMEOUT
George Matveev [Tue, 1 Mar 2011 15:44:41 +0000 (16:44 +0100)]
isimodem: removed unused NETWORK_TIMEOUT

13 years agoisimodem: Use alignment helper macro
Aki Niemi [Thu, 3 Mar 2011 19:34:41 +0000 (21:34 +0200)]
isimodem: Use alignment helper macro

13 years agoisiusb: add message-waiting
Jukka Saunamaki [Thu, 3 Mar 2011 08:47:24 +0000 (10:47 +0200)]
isiusb: add message-waiting

13 years agogisi: Make cursor a 16bit unsigned
Aki Niemi [Thu, 3 Mar 2011 17:05:10 +0000 (19:05 +0200)]
gisi: Make cursor a 16bit unsigned

This is to match subblock length when long header format is in use.

13 years agogisi: Consumer functions for ISI message iterator
Antti Paila [Thu, 3 Mar 2011 07:22:39 +0000 (09:22 +0200)]
gisi: Consumer functions for ISI message iterator

13 years agoisimodem: Fix call-forwarding driver
Aki Niemi [Thu, 3 Mar 2011 16:35:28 +0000 (18:35 +0200)]
isimodem: Fix call-forwarding driver

Message length was incorrectly calculated. Also some cleanups.

13 years agoisimodem: Add missing codepoints
Aki Niemi [Thu, 3 Mar 2011 16:34:41 +0000 (18:34 +0200)]
isimodem: Add missing codepoints

Not used; mostly for debugging purposes.

13 years agou8500: Create wgmodem2.5 drivers
Aki Niemi [Thu, 3 Mar 2011 13:39:06 +0000 (15:39 +0200)]
u8500: Create wgmodem2.5 drivers

13 years agoisimodem: Refactor SSN driver
Aki Niemi [Thu, 3 Mar 2011 13:37:52 +0000 (15:37 +0200)]
isimodem: Refactor SSN driver

13 years agoisimodem: Move SS related codepoints to ss.h
Aki Niemi [Thu, 3 Mar 2011 13:37:38 +0000 (15:37 +0200)]
isimodem: Move SS related codepoints to ss.h

13 years agoisimodem: Use existing call SS codepoints
Aki Niemi [Thu, 3 Mar 2011 15:30:25 +0000 (17:30 +0200)]
isimodem: Use existing call SS codepoints

13 years agoisimodem: wgmodem2.5 added to ssn
Jessica Nilsson [Wed, 23 Feb 2011 11:43:25 +0000 (12:43 +0100)]
isimodem: wgmodem2.5 added to ssn

13 years agoisimodem: Refactor call-forwarding driver
Aki Niemi [Thu, 3 Mar 2011 11:25:25 +0000 (13:25 +0200)]
isimodem: Refactor call-forwarding driver

13 years agoisimodem: Fix nit in call-barring
Aki Niemi [Thu, 3 Mar 2011 11:25:10 +0000 (13:25 +0200)]
isimodem: Fix nit in call-barring

13 years agoisimodem: wgmodem2.5 added to call-forwarding
Jessica Nilsson [Wed, 23 Feb 2011 11:43:24 +0000 (12:43 +0100)]
isimodem: wgmodem2.5 added to call-forwarding

13 years agoisimodem: Refactor call barring driver
Aki Niemi [Thu, 3 Mar 2011 08:46:23 +0000 (10:46 +0200)]
isimodem: Refactor call barring driver

13 years agoisimodem: Change type for BSC argument
Aki Niemi [Thu, 3 Mar 2011 08:45:21 +0000 (10:45 +0200)]
isimodem: Change type for BSC argument

13 years agoisimodem: SS_GSM_BARRING_INFO added
Jessica Nilsson [Wed, 23 Feb 2011 11:43:23 +0000 (12:43 +0100)]
isimodem: SS_GSM_BARRING_INFO added

SS_GSM_BSC_INFO added.

13 years agoisimodem: Remove empty line in voicecall driver
Aki Niemi [Thu, 3 Mar 2011 08:14:32 +0000 (10:14 +0200)]
isimodem: Remove empty line in voicecall driver

13 years agoisiusb: Create wgmodem2.5 driver as well
Aki Niemi [Thu, 3 Mar 2011 08:08:45 +0000 (10:08 +0200)]
isiusb: Create wgmodem2.5 driver as well

13 years agoisimodem: Split voicecall into two drivers
Aki Niemi [Thu, 3 Mar 2011 07:39:29 +0000 (09:39 +0200)]
isimodem: Split voicecall into two drivers

These drivers share most of the modem ops, though, so they are still
in the same source file.

13 years agoisimodem: wgmodem2.5 added to voicecall
Jessica Nilsson [Wed, 23 Feb 2011 11:43:21 +0000 (12:43 +0100)]
isimodem: wgmodem2.5 added to voicecall

13 years agoisimodem: Refactor USSD driver
Aki Niemi [Wed, 2 Mar 2011 15:36:35 +0000 (17:36 +0200)]
isimodem: Refactor USSD driver

Clean up, and fix padding to be used always (does no harm).

13 years agoisimodem: Refactor and fix GPRS alignment
Aki Niemi [Wed, 2 Mar 2011 15:34:00 +0000 (17:34 +0200)]
isimodem: Refactor and fix GPRS alignment

13 years agoisimodem: Add helper macro for 32bit alignment
Aki Niemi [Wed, 2 Mar 2011 15:33:39 +0000 (17:33 +0200)]
isimodem: Add helper macro for 32bit alignment

13 years agoisimodem: wgmodem2.5 support in USSD
Jessica Nilsson [Wed, 23 Feb 2011 11:43:22 +0000 (12:43 +0100)]
isimodem: wgmodem2.5 support in USSD

13 years agoisimodem: Add CLIP/COLP/COLR support
Aki Niemi [Wed, 2 Mar 2011 14:53:15 +0000 (16:53 +0200)]
isimodem: Add CLIP/COLP/COLR support

Based on patches from:
Jessica Nilsson <jessica.j.nilsson@stericsson.com>

13 years agoisimodem: Add missing SS codepoints
Aki Niemi [Wed, 2 Mar 2011 14:51:54 +0000 (16:51 +0200)]
isimodem: Add missing SS codepoints

13 years agostk: Handle Refresh if also performed by modem
Andrzej Zaborowski [Sat, 19 Feb 2011 10:00:37 +0000 (11:00 +0100)]
stk: Handle Refresh if also performed by modem

13 years agoAUTHORS: Mention Miia's contributions
Denis Kenzior [Thu, 3 Mar 2011 04:53:56 +0000 (22:53 -0600)]
AUTHORS: Mention Miia's contributions

13 years agoatmodem: Add MBM vendor quirk for SIM record update
Miia Leinonen [Wed, 2 Mar 2011 12:56:52 +0000 (14:56 +0200)]
atmodem: Add MBM vendor quirk for SIM record update

13 years agoTODO: Mark pin check status task as done
Jussi Kangas [Wed, 2 Mar 2011 15:20:22 +0000 (17:20 +0200)]
TODO: Mark pin check status task as done

13 years agoAUTHORS: Mention Patrick's contributions
Denis Kenzior [Thu, 3 Mar 2011 04:49:56 +0000 (22:49 -0600)]
AUTHORS: Mention Patrick's contributions

13 years agogatchat: Optimize ringbuffer modulo operations
Patrick Porlan [Wed, 2 Mar 2011 10:15:35 +0000 (11:15 +0100)]
gatchat: Optimize ringbuffer modulo operations

Replace modulo operations in ringbuffer.c by masking operations.  This
is possible because the size of the ring buffers is always a power of
two, and yields a small performance improvement.

The improvement should be mostly visible on processors that implement
division in microcode (Atom) or lack a division instruction (ARM).

13 years agoudev: Fix detection of mbm with GPS capabilities
Denis Kenzior [Thu, 3 Mar 2011 04:38:29 +0000 (22:38 -0600)]
udev: Fix detection of mbm with GPS capabilities

13 years agoRelease 0.44 0.44
Marcel Holtmann [Wed, 2 Mar 2011 07:21:35 +0000 (23:21 -0800)]
Release 0.44

13 years agobuild: Fix wrong include of public header
Marcel Holtmann [Wed, 2 Mar 2011 07:07:50 +0000 (23:07 -0800)]
build: Fix wrong include of public header

13 years agombm: Allow mbm modems that don't have GPS
Denis Kenzior [Tue, 1 Mar 2011 21:48:55 +0000 (15:48 -0600)]
mbm: Allow mbm modems that don't have GPS

13 years agolocation-reporting: don't add client-exit watch too early
Lucas De Marchi [Mon, 28 Feb 2011 13:43:53 +0000 (10:43 -0300)]
location-reporting: don't add client-exit watch too early

Wait until driver gives us a file descriptor to start watching for
client exit. This fixes a race when client exits before the driver
calls location_reporting_enable_cb().

13 years agoTODO: set owner of 'Dial strings' task
Lucas De Marchi [Tue, 1 Mar 2011 14:25:39 +0000 (11:25 -0300)]
TODO: set owner of 'Dial strings' task

13 years agostk: Make sure to reset respond_on_exit
Andrzej Zaborowski [Mon, 28 Feb 2011 00:58:55 +0000 (01:58 +0100)]
stk: Make sure to reset respond_on_exit

This fixes a crash spotted by Lasse Kunnasluoto documented at
http://lists.ofono.org/pipermail/ofono/2011-February/009211.html

13 years agogsmdial: Introduce data_mode
Denis Kenzior [Mon, 28 Feb 2011 22:10:43 +0000 (16:10 -0600)]
gsmdial: Introduce data_mode

If we're in PPP mode, then don't send unsolicited notifications.  Only a
NO CARRIER is really allowed.

13 years agogatserver: Tweak use of g_at_server_suspend/resume
Denis Kenzior [Mon, 28 Feb 2011 22:05:31 +0000 (16:05 -0600)]
gatserver: Tweak use of g_at_server_suspend/resume

13 years agotest-server: Make sure to send CONNECT
Denis Kenzior [Mon, 28 Feb 2011 22:04:21 +0000 (16:04 -0600)]
test-server: Make sure to send CONNECT

Before starting the ppp session we should make sure that the CONNECT
response has been sent on the wire.

13 years agogatserver: Exit garbage state on HDLC frame end
Denis Kenzior [Mon, 28 Feb 2011 20:29:07 +0000 (14:29 -0600)]
gatserver: Exit garbage state on HDLC frame end

13 years agogatppp: Try to detect no carrier conditions
Denis Kenzior [Mon, 28 Feb 2011 20:27:50 +0000 (14:27 -0600)]
gatppp: Try to detect no carrier conditions

13 years agogatppp: Delay signaling ppp_down
Denis Kenzior [Mon, 28 Feb 2011 20:26:26 +0000 (14:26 -0600)]
gatppp: Delay signaling ppp_down

Delay signaling of ppp_down until we exit the GAtHDLC read handler.
Otherwise exchanging the read handler on GAtIO might lead to funny
double consumption problems.

13 years agogathdlc: Try to detect no carrier conditions
Denis Kenzior [Mon, 28 Feb 2011 20:24:39 +0000 (14:24 -0600)]
gathdlc: Try to detect no carrier conditions

Sometimes we receive the no carrier embedded in a stream following the
PPP packets.  This might be due to write scheduling on the remote side
or read scheduling locally.  Try not to consume the no carrier condition
and assume the previous hdlc frames will result in closing of the ppp
stack.

13 years agoTODO: Add PPP section
Denis Kenzior [Mon, 28 Feb 2011 20:11:38 +0000 (14:11 -0600)]
TODO: Add PPP section

13 years agogatio: Remove stray empty line
Denis Kenzior [Mon, 28 Feb 2011 18:28:50 +0000 (12:28 -0600)]
gatio: Remove stray empty line

13 years agogatio: update comment
Denis Kenzior [Mon, 28 Feb 2011 18:19:57 +0000 (12:19 -0600)]
gatio: update comment

13 years agogathdlc: Unregister read / write handlers
Denis Kenzior [Mon, 28 Feb 2011 18:14:48 +0000 (12:14 -0600)]
gathdlc: Unregister read / write handlers

When GAtHDLC is being unregistered make sure to unregister read / write
handlers so as not to crash.

13 years agogathdlc: drain the last hdlc frame processed
Denis Kenzior [Mon, 28 Feb 2011 18:13:56 +0000 (12:13 -0600)]
gathdlc: drain the last hdlc frame processed

If we're being destroyed, we should drain the last HDLC frame

13 years agogsmdial: register notification before resuming
Denis Kenzior [Mon, 28 Feb 2011 18:13:01 +0000 (12:13 -0600)]
gsmdial: register notification before resuming

13 years agoppp: Remove some g_prints
Denis Kenzior [Sat, 26 Feb 2011 06:30:28 +0000 (00:30 -0600)]
ppp: Remove some g_prints

13 years agoppp_cp: Replace some left over g_prints with DBG
Denis Kenzior [Sat, 26 Feb 2011 06:25:24 +0000 (00:25 -0600)]
ppp_cp: Replace some left over g_prints with DBG

13 years agogatppp: Replace some left-over g_prints with DBG
Denis Kenzior [Sat, 26 Feb 2011 06:18:27 +0000 (00:18 -0600)]
gatppp: Replace some left-over g_prints with DBG

13 years agogatppp: Send the final terminate ack
Denis Kenzior [Sat, 26 Feb 2011 06:14:29 +0000 (00:14 -0600)]
gatppp: Send the final terminate ack

In the case where we're going down, but have a pending terminate ack,
delay signaling the upper layers until the ack has been put on the wire.

13 years agogatppp: Add a debug macro
Denis Kenzior [Sat, 26 Feb 2011 06:13:42 +0000 (00:13 -0600)]
gatppp: Add a debug macro

13 years agogatio: Add write 'done' notifier
Denis Kenzior [Sat, 26 Feb 2011 06:12:02 +0000 (00:12 -0600)]
gatio: Add write 'done' notifier

This allows external clients to get notified when GAtIO no longer has a
registered write watcher.  E.g. no more data is currently pending.

13 years agotest-server: Remove root user check
Denis Kenzior [Sat, 26 Feb 2011 06:11:09 +0000 (00:11 -0600)]
test-server: Remove root user check

13 years agogatserver: Update the internal command parsers
Denis Kenzior [Sat, 26 Feb 2011 02:36:15 +0000 (20:36 -0600)]
gatserver: Update the internal command parsers

commit 61b30c025d3d461bfd577de29f27f4f9a5546213 changed the way the
command callbacks are being called (namely the contents of the GAtResult
object).  Most command callbacks were updated, but the internal ones
were forgotten.  This patch fixes this issue.

13 years agoAUTHORS: Mention Antoine's contributions
Denis Kenzior [Fri, 25 Feb 2011 20:21:43 +0000 (14:21 -0600)]
AUTHORS: Mention Antoine's contributions

13 years agovoicecall: Add CNAP debugging ofono voicecall
Antoine Reversat [Fri, 25 Feb 2011 19:23:18 +0000 (14:23 -0500)]
voicecall: Add CNAP debugging ofono voicecall

13 years agoisi: Add CNAP support for isimodem
Antoine Reversat [Fri, 25 Feb 2011 19:23:17 +0000 (14:23 -0500)]
isi: Add CNAP support for isimodem

13 years agoisi: Clean up isi_call_any_address_sb_proc
Antoine Reversat [Fri, 25 Feb 2011 19:23:16 +0000 (14:23 -0500)]
isi: Clean up isi_call_any_address_sb_proc

13 years agosim: Document fall through case in switchcase
Denis Kenzior [Fri, 25 Feb 2011 17:53:10 +0000 (11:53 -0600)]
sim: Document fall through case in switchcase

13 years agosim: check lock state with call meter
Jussi Kangas [Fri, 25 Feb 2011 13:20:16 +0000 (15:20 +0200)]
sim: check lock state with call meter

13 years agosim: Expose the __ofono_sim_recheck_pin API
Jussi Kangas [Fri, 25 Feb 2011 13:20:16 +0000 (15:20 +0200)]
sim: Expose the __ofono_sim_recheck_pin API

13 years agosim: Do not teardown SIM state when PIN2 is asked
Jussi Kangas [Fri, 25 Feb 2011 13:20:16 +0000 (15:20 +0200)]
sim: Do not teardown SIM state when PIN2 is asked

We should not tear down the SIM state if PIN2 is being asked for, or if
PIN2 is blocked and PUK2 is being asked.

We also want to continue with SIM initialization if the modem requires
PIN2 / PUK2 for some reason.

13 years agoTODO: ownership change of E911 support
Jarko Poutiainen [Fri, 25 Feb 2011 08:38:14 +0000 (10:38 +0200)]
TODO: ownership change of E911 support

13 years agogatchat: Fix minor style issues
Denis Kenzior [Thu, 24 Feb 2011 20:45:51 +0000 (14:45 -0600)]
gatchat: Fix minor style issues

13 years agoisimodem: code points for sms wgmodem2.5
Jessica Nilsson [Wed, 23 Feb 2011 11:43:26 +0000 (12:43 +0100)]
isimodem: code points for sms wgmodem2.5

13 years agoisimodem: Remove inter-driver API for now
Aki Niemi [Thu, 24 Feb 2011 09:09:49 +0000 (11:09 +0200)]
isimodem: Remove inter-driver API for now

13 years agoisimodem: code points uicc sim wgmodem2.5
Jessica Nilsson [Wed, 23 Feb 2011 11:43:18 +0000 (12:43 +0100)]
isimodem: code points uicc sim wgmodem2.5

13 years agosimutil: Add missing SIM enum
Jessica Nilsson [Thu, 24 Feb 2011 08:47:11 +0000 (10:47 +0200)]
simutil: Add missing SIM enum

13 years agoplugins: add u8500 to udev
Jessica Nilsson [Wed, 23 Feb 2011 11:43:15 +0000 (12:43 +0100)]
plugins: add u8500 to udev

13 years agoemulator: add support of void parameters in CMER
Frédéric Danis [Thu, 24 Feb 2011 17:16:06 +0000 (18:16 +0100)]
emulator: add support of void parameters in CMER

13 years agogatchat: add g_at_result_iter_next_number_default API
Frédéric Danis [Thu, 24 Feb 2011 17:16:05 +0000 (18:16 +0100)]
gatchat: add g_at_result_iter_next_number_default API

13 years agocommon: '+' is not valid phone number anymore
Paavo Leinonen [Thu, 24 Feb 2011 08:33:58 +0000 (10:33 +0200)]
common: '+' is not valid phone number anymore

Reject phone number if it contains only plus sign.

13 years agoemulator: Remove unneeded parens
Denis Kenzior [Thu, 24 Feb 2011 15:46:28 +0000 (09:46 -0600)]
emulator: Remove unneeded parens

13 years agodoc: Tweak location reporting API
Denis Kenzior [Thu, 24 Feb 2011 01:06:07 +0000 (19:06 -0600)]
doc: Tweak location reporting API