platform/upstream/ofono.git
12 years agomodem: Tweak produced path
Denis Kenzior [Sat, 7 Jan 2012 19:23:32 +0000 (13:23 -0600)]
modem: Tweak produced path

For drivers that contain digits at the end the currently produced
path can be somewhat confusing.

12 years agoofono.rules: Add N900 rule for stock kernels
Denis Kenzior [Sat, 7 Jan 2012 19:20:09 +0000 (13:20 -0600)]
ofono.rules: Add N900 rule for stock kernels

From a patch set by Luke Dash

12 years agocdma-netreg: Add provider name and SID support
Philippe Nunes [Wed, 14 Dec 2011 17:56:07 +0000 (18:56 +0100)]
cdma-netreg: Add provider name and SID support

12 years agocdma-provision: Add cdma provisioning plugin
Philippe Nunes [Wed, 14 Dec 2011 17:56:06 +0000 (18:56 +0100)]
cdma-provision: Add cdma provisioning plugin

12 years agocdma-provision: Add driver APIs implementation
Philippe Nunes [Wed, 14 Dec 2011 17:56:05 +0000 (18:56 +0100)]
cdma-provision: Add driver APIs implementation

12 years agoofono.h: add API to get cdma provider name
Philippe Nunes [Wed, 14 Dec 2011 17:56:04 +0000 (18:56 +0100)]
ofono.h: add API to get cdma provider name

12 years agocdma-provision: Add driver APIs header
Philippe Nunes [Wed, 14 Dec 2011 17:56:03 +0000 (18:56 +0100)]
cdma-provision: Add driver APIs header

12 years agoudevng: Remove huaweicdma label from driver_list
Guillaume Zajac [Mon, 9 Jan 2012 13:10:56 +0000 (14:10 +0100)]
udevng: Remove huaweicdma label from driver_list

12 years agoRelease 1.2 1.2
Marcel Holtmann [Sun, 8 Jan 2012 08:19:46 +0000 (00:19 -0800)]
Release 1.2

12 years agohuawei: Adapt to changed atom driver name for CDMA netreg
Marcel Holtmann [Sat, 7 Jan 2012 03:55:34 +0000 (19:55 -0800)]
huawei: Adapt to changed atom driver name for CDMA netreg

12 years agohuaweimodem: Move CDMA network registration into default driver
Marcel Holtmann [Sat, 7 Jan 2012 03:52:34 +0000 (19:52 -0800)]
huaweimodem: Move CDMA network registration into default driver

With merging the GSM/UTMS and CDMA modem plugin into a unified version,
it also makes sense to merge the Huawei specific vendor atom drivers
into one.

12 years agohuawei: Use CFUN=5 for CDMA offline state handling
Marcel Holtmann [Sat, 7 Jan 2012 03:16:43 +0000 (19:16 -0800)]
huawei: Use CFUN=5 for CDMA offline state handling

The Huawei CDMA modems only support CFUN=5 for offline mode and so
enforce this one if CDMA support has been detected. Even if the modem
would indicate AT^RFSWITCH support.

12 years agohuawei: Handle modems with ROM based SIM cards
Marcel Holtmann [Sat, 7 Jan 2012 03:11:03 +0000 (19:11 -0800)]
huawei: Handle modems with ROM based SIM cards

Some modem contain ROM based SIM cards indicated by SIM state 240 and
these need to be treated as SIM present.

12 years agohuawei: Create CDMA atoms if support has been detected
Marcel Holtmann [Sat, 7 Jan 2012 03:08:13 +0000 (19:08 -0800)]
huawei: Create CDMA atoms if support has been detected

In case the modem supports CDMA (+CIS707-A capability), then enable
CDMA atoms. However only enable if GSM support is not detected.

12 years agohso: Enable voice call handling if support has been detected
Marcel Holtmann [Sat, 7 Jan 2012 02:52:12 +0000 (18:52 -0800)]
hso: Enable voice call handling if support has been detected

Check if AT_OPCMENABLE is supported and if so, then enable the voice
call handling as well.

12 years agohuawei: Create GSM/UMTS atoms only if support has been detected
Marcel Holtmann [Sat, 7 Jan 2012 02:30:12 +0000 (18:30 -0800)]
huawei: Create GSM/UMTS atoms only if support has been detected

12 years agoatmodem: Add call state polling for Qualcomm MSM based modems
Marcel Holtmann [Fri, 6 Jan 2012 22:08:35 +0000 (14:08 -0800)]
atmodem: Add call state polling for Qualcomm MSM based modems

The voice call support of the Qualcomm MSM based modems does not report
NO CARRIER, NO ANSWER or BUSY unsolicited notifications. So keep polling
for call state changes via AT+CLCC even during an active call.

12 years agoatmodem: Disable AT+COLP for Qualcomm MSM based modems
Marcel Holtmann [Fri, 6 Jan 2012 22:05:59 +0000 (14:05 -0800)]
atmodem: Disable AT+COLP for Qualcomm MSM based modems

In case of Qualcomm MSM based modems, AT+COLP=0 needs to be used to make
ATD<number>; return right away. Otherwise it only returns once the remote
party accepted or rejected the call.

12 years agohuaweicdma: Delete unused plugin
Guillaume Zajac [Fri, 6 Jan 2012 15:28:38 +0000 (16:28 +0100)]
huaweicdma: Delete unused plugin

12 years agoudev: Simplify vendor_list for Huawei constructor
Guillaume Zajac [Fri, 6 Jan 2012 15:28:36 +0000 (16:28 +0100)]
udev: Simplify vendor_list for Huawei constructor

According to Huawei constructor, the port mapping is identical
for all the modems. We can decide to use GSM or CDMA drivers into
the plugin.

12 years agohuawei: Check for supported modem capabilities first
Marcel Holtmann [Fri, 6 Jan 2012 21:31:38 +0000 (13:31 -0800)]
huawei: Check for supported modem capabilities first

Use ATI and +GCAP response to determine supported modem capabilities
and check if modem does support GSM.

12 years agohuawei: Change state variable name for voice support
Marcel Holtmann [Fri, 6 Jan 2012 21:19:30 +0000 (13:19 -0800)]
huawei: Change state variable name for voice support

12 years agogsmdial: Set recording after ppp_open
Denis Kenzior [Mon, 2 Jan 2012 16:57:27 +0000 (10:57 -0600)]
gsmdial: Set recording after ppp_open

12 years agoatutil: Fix newline before EOF
Syam Sidhardhan [Thu, 29 Dec 2011 22:58:01 +0000 (04:28 +0530)]
atutil: Fix newline before EOF

12 years agosim: fix "network" is pin type for "networkpuk"
Jussi Kukkonen [Mon, 2 Jan 2012 12:27:26 +0000 (14:27 +0200)]
sim: fix "network" is pin type for "networkpuk"

12 years agotest: Add script for rejecting incoming calls
Marcel Holtmann [Mon, 2 Jan 2012 02:25:00 +0000 (18:25 -0800)]
test: Add script for rejecting incoming calls

12 years agohso: Add support for detecting is no SIM card is present
Marcel Holtmann [Mon, 2 Jan 2012 02:00:39 +0000 (18:00 -0800)]
hso: Add support for detecting is no SIM card is present

12 years agoRelease 1.1 1.1
Marcel Holtmann [Sat, 31 Dec 2011 19:45:02 +0000 (11:45 -0800)]
Release 1.1

12 years agotelit: Fix empty parameter list in function
Syam Sidhardhan [Thu, 29 Dec 2011 22:00:35 +0000 (03:30 +0530)]
telit: Fix empty parameter list in function

12 years agohfp_ag: Fix empty parameter list in functions
Syam Sidhardhan [Thu, 29 Dec 2011 22:00:32 +0000 (03:30 +0530)]
hfp_ag: Fix empty parameter list in functions

12 years agogprs: Minor whitespace and style fixes
Oleg Zhurakivskyy [Wed, 28 Dec 2011 13:18:42 +0000 (15:18 +0200)]
gprs: Minor whitespace and style fixes

12 years agoAUTHORS: Mention Syam's contributions
Denis Kenzior [Wed, 28 Dec 2011 22:01:43 +0000 (16:01 -0600)]
AUTHORS: Mention Syam's contributions

12 years agoisimodem: Remove extra bogus semicolon
Syam Sidhardhan [Thu, 29 Dec 2011 21:30:25 +0000 (03:00 +0530)]
isimodem: Remove extra bogus semicolon

12 years agoatmodem: Add support for Option HSO specific PIN retry counters
Marcel Holtmann [Thu, 29 Dec 2011 20:08:38 +0000 (12:08 -0800)]
atmodem: Add support for Option HSO specific PIN retry counters

12 years agobuild: The Telit plugin requires Bluetooth support
Marcel Holtmann [Wed, 28 Dec 2011 17:27:28 +0000 (09:27 -0800)]
build: The Telit plugin requires Bluetooth support

12 years agosim: Fix not creating simfs context in some cases
Denis Kenzior [Fri, 23 Dec 2011 07:27:19 +0000 (01:27 -0600)]
sim: Fix not creating simfs context in some cases

12 years agoMakefile: Add Speedup udev rules to EXTRA_DIST
Philippe Nunes [Wed, 21 Dec 2011 09:37:59 +0000 (10:37 +0100)]
Makefile: Add Speedup udev rules to EXTRA_DIST

12 years agoAdd-udev-rules-for-Speedup-dongles
Philippe Nunes [Wed, 21 Dec 2011 09:37:58 +0000 (10:37 +0100)]
Add-udev-rules-for-Speedup-dongles

12 years agoudevng: Do only label assignment for Speedup dongles
Philippe Nunes [Tue, 20 Dec 2011 16:55:41 +0000 (17:55 +0100)]
udevng: Do only label assignment for Speedup dongles

12 years agofeatures: Describe SPN, CPHS ONS and Short ONS
Denis Kenzior [Sat, 17 Dec 2011 00:51:37 +0000 (18:51 -0600)]
features: Describe SPN, CPHS ONS and Short ONS

12 years agoTODO: Mark CPHS SPN and short-SPN tasks as done
Oleg Zhurakivskyy [Tue, 13 Dec 2011 11:36:24 +0000 (13:36 +0200)]
TODO: Mark CPHS SPN and short-SPN tasks as done

12 years agonetwork: Refactor CPHS SPN & Short SPN handling
Denis Kenzior [Sat, 17 Dec 2011 00:46:27 +0000 (18:46 -0600)]
network: Refactor CPHS SPN & Short SPN handling

12 years agonetwork: CPHS Short SPN bits do not apply to SPN
Denis Kenzior [Fri, 16 Dec 2011 22:38:20 +0000 (16:38 -0600)]
network: CPHS Short SPN bits do not apply to SPN

12 years agonetwork: Use __ofono_cphs_service_available
Denis Kenzior [Fri, 16 Dec 2011 22:30:57 +0000 (16:30 -0600)]
network: Use __ofono_cphs_service_available

12 years agomessage-waiting: Use new API for CPHS MBDN
Denis Kenzior [Fri, 16 Dec 2011 22:10:21 +0000 (16:10 -0600)]
message-waiting: Use new API for CPHS MBDN

12 years agosim: Add __ofono_sim_cphs_service_available
Denis Kenzior [Fri, 16 Dec 2011 15:45:31 +0000 (09:45 -0600)]
sim: Add __ofono_sim_cphs_service_available

12 years agosimutil: Add util to find CPHS service availability
Denis Kenzior [Fri, 16 Dec 2011 15:44:32 +0000 (09:44 -0600)]
simutil: Add util to find CPHS service availability

12 years agosim: Reset additional state info
Denis Kenzior [Fri, 16 Dec 2011 14:34:59 +0000 (08:34 -0600)]
sim: Reset additional state info

We were not resetting 3GPP and CPHS phase information as well as the
CPHS service table entries on sim removal / reset.

12 years agonetwork: Add CPHS SPN, short-SPN fallbacks
Oleg Zhurakivskyy [Tue, 13 Dec 2011 11:36:23 +0000 (13:36 +0200)]
network: Add CPHS SPN, short-SPN fallbacks

12 years agonetwork: Guard PNN reading
Denis Kenzior [Fri, 16 Dec 2011 14:02:44 +0000 (08:02 -0600)]
network: Guard PNN reading

In a somewhat bizarre case, both PNN and OPL might change, which will
trigger sim_pnn_opl_changed twice.  This can have some funny
side-effects, so don't allow this to happen in the first place.

12 years agocdma-voicecall: Refactor previous commit
Denis Kenzior [Fri, 16 Dec 2011 05:55:12 +0000 (23:55 -0600)]
cdma-voicecall: Refactor previous commit

12 years agoAdd call waiting support in CDMA voice call
Caiwen Zhang [Fri, 12 Aug 2011 09:20:15 +0000 (17:20 +0800)]
Add call waiting support in CDMA voice call

12 years agonetwork: Use netreg_emit_operator_display_name()
Oleg Zhurakivskyy [Tue, 13 Dec 2011 11:36:22 +0000 (13:36 +0200)]
network: Use netreg_emit_operator_display_name()

Redundant in place code removed, netreg_emit_operator_display_name()
is now used consistently everywhere in network.c

12 years agospeedupcdma: Create cdma-netreg atom
Guillaume Zajac [Thu, 15 Dec 2011 14:13:33 +0000 (15:13 +0100)]
speedupcdma: Create cdma-netreg atom

According to SpeedUp 7300 specifications, SpeedUp uses
same AT command as Huawei so we can create cdma-netreg atom
using huaweicdma drivers.

12 years agoudevng: add another driver name for telit
Christopher Vogl [Thu, 15 Dec 2011 14:43:01 +0000 (15:43 +0100)]
udevng: add another driver name for telit

some telit hardware needs option driver.

12 years agoAUTHORS: Mention Christopher's contributions
Denis Kenzior [Fri, 16 Dec 2011 04:37:33 +0000 (22:37 -0600)]
AUTHORS: Mention Christopher's contributions

12 years agotelit: use CIND "rssi" indicator instead of "signal"
Christopher Vogl [Thu, 15 Dec 2011 13:34:41 +0000 (14:34 +0100)]
telit: use CIND "rssi" indicator instead of "signal"

"signal" indicator permanently reports 99 (not measurable).

12 years agospeedupcdma: Tweak plugin to notify dormant state
Guillaume Zajac [Mon, 12 Dec 2011 16:13:32 +0000 (17:13 +0100)]
speedupcdma: Tweak plugin to notify dormant state

12 years agoTODO: Mark RSSI task for 1xEVDO as done
Guillaume Zajac [Mon, 12 Dec 2011 09:17:27 +0000 (10:17 +0100)]
TODO: Mark RSSI task for 1xEVDO as done

12 years agoTODO: Split in 2 tasks RSSI and SINR measurement
Guillaume Zajac [Mon, 12 Dec 2011 09:17:26 +0000 (10:17 +0100)]
TODO: Split in 2 tasks RSSI and SINR measurement

12 years agohuaweicdmamodem: Fix sysinfo parsing
Philippe Nunes [Thu, 8 Dec 2011 14:50:03 +0000 (15:50 +0100)]
huaweicdmamodem: Fix sysinfo parsing

In practice, the service domain is set to 255 (cdma not supported)
with an EV-DO capable hardware.

12 years agohuaweicdma: Use pcui port for cdma_netreg
Philippe Nunes [Thu, 8 Dec 2011 14:49:58 +0000 (15:49 +0100)]
huaweicdma: Use pcui port for cdma_netreg

12 years agocdma-connman: Turn off modem dormancy timeouts
Denis Kenzior [Fri, 9 Dec 2011 11:35:48 +0000 (05:35 -0600)]
cdma-connman: Turn off modem dormancy timeouts

12 years agohuaweicdma: Tweak plugin to notify dormant state
Guillaume Zajac [Thu, 8 Dec 2011 11:00:29 +0000 (12:00 +0100)]
huaweicdma: Tweak plugin to notify dormant state

Specify vendor in creating cdma-connman atom.
Set PCUI interface as slave of MODEM interface to receive dormant
state notification during data call.

12 years agocdma-connman: Support Huawei dormant notifications
Guillaume Zajac [Thu, 8 Dec 2011 11:00:30 +0000 (12:00 +0100)]
cdma-connman: Support Huawei dormant notifications

12 years agocdma-connman: Add dormant_notify implementation
Guillaume Zajac [Thu, 8 Dec 2011 11:00:28 +0000 (12:00 +0100)]
cdma-connman: Add dormant_notify implementation

12 years agocdma-connman: Add dormant state notification API
Guillaume Zajac [Thu, 8 Dec 2011 11:00:27 +0000 (12:00 +0100)]
cdma-connman: Add dormant state notification API

12 years agoTODO: Mark RSSI measurement task as done
Guillaume Zajac [Thu, 8 Dec 2011 09:58:18 +0000 (10:58 +0100)]
TODO: Mark RSSI measurement task as done

12 years agoTODO: Split in 2 tasks RSSI and Ec/Io measurement
Guillaume Zajac [Thu, 8 Dec 2011 09:58:17 +0000 (10:58 +0100)]
TODO: Split in 2 tasks RSSI and Ec/Io measurement

12 years agoTODO: Mark net initiated disconnect task as done
Guillaume Zajac [Thu, 8 Dec 2011 09:58:16 +0000 (10:58 +0100)]
TODO: Mark net initiated disconnect task as done

12 years agohuaweicdma: Add data strength notification support
Guillaume Zajac [Tue, 6 Dec 2011 09:33:43 +0000 (10:33 +0100)]
huaweicdma: Add data strength notification support

12 years agonetwork: Split EFspn and EFspdi Refresh handling
Denis Kenzior [Fri, 2 Dec 2011 22:00:02 +0000 (16:00 -0600)]
network: Split EFspn and EFspdi Refresh handling

If both EFspn and EFspdi are changed, then we trigger reading of EFspn
twice which leads to a memory leak.  Instead, always read EFspdi if the
relevant service is available.

If EFspdi is changed, use a simple heuristic to update the 'Name'
property if appropriate.  This heuristic is not always correct, but in
the worst case we will emit the same name.

12 years agonetwork: Refactor sim_spdn_spdi_changed
Denis Kenzior [Fri, 2 Dec 2011 20:27:18 +0000 (14:27 -0600)]
network: Refactor sim_spdn_spdi_changed

12 years agonetwork: Tweak naming
Denis Kenzior [Fri, 2 Dec 2011 20:27:18 +0000 (14:27 -0600)]
network: Tweak naming

12 years agosimutil: Minor whitespace fix
Denis Kenzior [Fri, 2 Dec 2011 19:01:14 +0000 (13:01 -0600)]
simutil: Minor whitespace fix

12 years agosimutil: Add CPHS SPN & short SPN to EFdb
Denis Kenzior [Fri, 2 Dec 2011 19:00:46 +0000 (13:00 -0600)]
simutil: Add CPHS SPN & short SPN to EFdb

12 years agosimutil: Add CPHS SPN and short-SPN IDs
Oleg Zhurakivskyy [Fri, 2 Dec 2011 11:10:33 +0000 (13:10 +0200)]
simutil: Add CPHS SPN and short-SPN IDs

12 years agogprs-provision: Fix crash if no SPN present
Oleg Zhurakivskyy [Fri, 2 Dec 2011 11:10:32 +0000 (13:10 +0200)]
gprs-provision: Fix crash if no SPN present

12 years agonetwork: Rename spname to spn
Oleg Zhurakivskyy [Fri, 2 Dec 2011 11:10:31 +0000 (13:10 +0200)]
network: Rename spname to spn

12 years agonetwork: Go back to the original
Denis Kenzior [Fri, 2 Dec 2011 18:52:27 +0000 (12:52 -0600)]
network: Go back to the original

The code is a little bit more readable and slightly more efficient this
way

12 years agonetwork: Refactor sim_spn_read_cb()
Oleg Zhurakivskyy [Fri, 2 Dec 2011 11:10:30 +0000 (13:10 +0200)]
network: Refactor sim_spn_read_cb()

Refactor sim_spn_read_cb() for CPHS SPN, short-SPN inclusion

12 years agonetwork: M9 coding style corrections
Oleg Zhurakivskyy [Fri, 2 Dec 2011 11:10:29 +0000 (13:10 +0200)]
network: M9 coding style corrections

12 years agodoc: Remove stale TODO
Denis Kenzior [Fri, 2 Dec 2011 12:03:19 +0000 (06:03 -0600)]
doc: Remove stale TODO

12 years agogsmdial: Make sure to use '#' at the end
Denis Kenzior [Wed, 30 Nov 2011 10:35:44 +0000 (04:35 -0600)]
gsmdial: Make sure to use '#' at the end

The bluetooth path got this part wrong

12 years agosierra: Fix memory leak
Guillaume Zajac [Thu, 1 Dec 2011 16:48:52 +0000 (17:48 +0100)]
sierra: Fix memory leak

12 years agosimfs: Call callback even if impl isn't provided
Guillaume Zajac [Mon, 21 Nov 2011 10:54:03 +0000 (11:54 +0100)]
simfs: Call callback even if impl isn't provided

12 years agocdma-netreg: Add skeleton sid query implementation
Philippe Nunes [Thu, 24 Nov 2011 17:46:23 +0000 (18:46 +0100)]
cdma-netreg: Add skeleton sid query implementation

12 years agoinclude: Add serving_system method to cdma-netreg
Philippe Nunes [Thu, 24 Nov 2011 17:46:21 +0000 (18:46 +0100)]
include: Add serving_system method to cdma-netreg

12 years agoupdate gitignore
Denis Kenzior [Thu, 24 Nov 2011 23:41:17 +0000 (17:41 -0600)]
update gitignore

12 years agomodem: Add Type property to GetProperties result
Daniel Wagner [Tue, 22 Nov 2011 17:10:00 +0000 (18:10 +0100)]
modem: Add Type property to GetProperties result

12 years agodoc: Add Type to the Modem object
Daniel Wagner [Tue, 22 Nov 2011 17:10:01 +0000 (18:10 +0100)]
doc: Add Type to the Modem object

Indicate the kind of modem it is before it is powered up.

12 years agosap: Add modem type sap
Daniel Wagner [Tue, 22 Nov 2011 17:09:50 +0000 (18:09 +0100)]
sap: Add modem type sap

12 years agohfp_hf: Add modem type hfp
Daniel Wagner [Tue, 22 Nov 2011 17:09:35 +0000 (18:09 +0100)]
hfp_hf: Add modem type hfp

12 years agoinclude: Add modem type to modem.h
Daniel Wagner [Tue, 22 Nov 2011 17:09:30 +0000 (18:09 +0100)]
include: Add modem type to modem.h

12 years agotools: Add lookup-provider-name utility
Philippe Nunes [Thu, 17 Nov 2011 16:21:00 +0000 (17:21 +0100)]
tools: Add lookup-provider-name utility

This is a quick tool to look up CDMA network name based on the SID from
the mobile-broadband-provider-info database.

12 years agoplugins: Make the code a bit prettier
Denis Kenzior [Wed, 16 Nov 2011 09:59:40 +0000 (03:59 -0600)]
plugins: Make the code a bit prettier

12 years agombpi: Add mbpi_lookup_cdma_provider_name API
Philippe Nunes [Thu, 17 Nov 2011 16:20:59 +0000 (17:20 +0100)]
mbpi: Add mbpi_lookup_cdma_provider_name API

12 years agogatchat: Fix minor style issue
Denis Kenzior [Tue, 15 Nov 2011 02:11:39 +0000 (20:11 -0600)]
gatchat: Fix minor style issue

12 years agotools: Update to the new mbpi API
Philippe Nunes [Tue, 15 Nov 2011 13:04:13 +0000 (14:04 +0100)]
tools: Update to the new mbpi API

12 years agoprovision: Update to the new mbpi API
Philippe Nunes [Tue, 15 Nov 2011 13:04:13 +0000 (14:04 +0100)]
provision: Update to the new mbpi API