platform/upstream/ofono.git
14 years agostk: Add parser for timing advance objects
Yang Gu [Thu, 17 Jun 2010 10:35:11 +0000 (18:35 +0800)]
stk: Add parser for timing advance objects

14 years agoteststk: Add test for send ussd parser
Yang Gu [Thu, 17 Jun 2010 10:35:07 +0000 (18:35 +0800)]
teststk: Add test for send ussd parser

14 years agosmsutil: Add a decoder for ussd pdus
Yang Gu [Thu, 17 Jun 2010 10:35:07 +0000 (18:35 +0800)]
smsutil: Add a decoder for ussd pdus

14 years agostk: Add parser for send ussd commands
Yang Gu [Thu, 17 Jun 2010 10:35:07 +0000 (18:35 +0800)]
stk: Add parser for send ussd commands

14 years agohuawei: Import Huawei rules
Florian Steinel [Sun, 13 Jun 2010 11:18:35 +0000 (13:18 +0200)]
huawei: Import Huawei rules

From 10-Huawei-Datacard.rules (Linux Driver 4.08.01.108.tar.gz)

14 years agogathdlc: Don't crash if unreffed in callback
Denis Kenzior [Fri, 18 Jun 2010 17:23:10 +0000 (12:23 -0500)]
gathdlc: Don't crash if unreffed in callback

14 years agogsmdial: Unref ppp when we get disconnected
Zhenhua Zhang [Sat, 12 Jun 2010 05:50:48 +0000 (13:50 +0800)]
gsmdial: Unref ppp when we get disconnected

14 years agotest-server: Fix GIOChannel leak in create_tty
Zhenhua Zhang [Sat, 12 Jun 2010 05:50:44 +0000 (13:50 +0800)]
test-server: Fix GIOChannel leak in create_tty

Remove client_io and unref server_io after creating GAtServer.

14 years agogatserver: Check for disconnection when resuming
Zhenhua Zhang [Sat, 12 Jun 2010 05:50:41 +0000 (13:50 +0800)]
gatserver: Check for disconnection when resuming

If the internal GAtIO is no longer valid, treat it as if our channel was
disconnected.

14 years agogatserver: Suspend/resume GAtServer with GAtIO
Zhenhua Zhang [Sat, 12 Jun 2010 05:50:40 +0000 (13:50 +0800)]
gatserver: Suspend/resume GAtServer with GAtIO

Support g_at_server_suspend and g_at_server_resume operation by using
GAtIO to handle IO related function.

14 years agohfp: Use bluetooth_parse_properties
Denis Kenzior [Thu, 17 Jun 2010 10:31:05 +0000 (05:31 -0500)]
hfp: Use bluetooth_parse_properties

Instead of the local version

14 years agobluetooth: Rename & expose parse_properties
Denis Kenzior [Thu, 17 Jun 2010 10:30:25 +0000 (05:30 -0500)]
bluetooth: Rename & expose parse_properties

14 years agohfp: Use the bluetooth_send_with_reply
Denis Kenzior [Thu, 17 Jun 2010 10:23:11 +0000 (05:23 -0500)]
hfp: Use the bluetooth_send_with_reply

Instead of send_method_call_with_reply

14 years agobluetooth: Rename send_method_call_with_reply
Denis Kenzior [Thu, 17 Jun 2010 10:22:05 +0000 (05:22 -0500)]
bluetooth: Rename send_method_call_with_reply

14 years agoRemove send_method_call from hfp.c
Gustavo F. Padovan [Mon, 14 Jun 2010 18:04:26 +0000 (15:04 -0300)]
Remove send_method_call from hfp.c

14 years agoMove create_path() to bluetooth plugin
Gustavo F. Padovan [Mon, 14 Jun 2010 18:04:27 +0000 (15:04 -0300)]
Move create_path() to bluetooth plugin

14 years agoAdd parse properties stuff to bluetooth.c
Gustavo F. Padovan [Mon, 14 Jun 2010 18:04:24 +0000 (15:04 -0300)]
Add parse properties stuff to bluetooth.c

14 years agoAdd send_method_call_with_reply to bluetooth.c
Gustavo F. Padovan [Mon, 14 Jun 2010 18:04:23 +0000 (15:04 -0300)]
Add send_method_call_with_reply to bluetooth.c

14 years agoAdd bluetooth plugin skeleton.
Gustavo F. Padovan [Mon, 14 Jun 2010 18:04:22 +0000 (15:04 -0300)]
Add bluetooth plugin skeleton.

The bluetooth plugin has bluetooth_resgister_uuid() and
bluetooth_unresgister_uuid() where bluetooth profiles plugins such as HFP
and DUN can register themselves to get know about BlueZ stuff ( new
devices, bluetoothd shutdown, etc..)

14 years agoFix: potential to crash in atmodem
Denis Kenzior [Thu, 17 Jun 2010 09:24:08 +0000 (04:24 -0500)]
Fix: potential to crash in atmodem

Some callbacks in call-meter were assuming that a modem follows 27.007
and actually returns a string.  Some modems don't return a string that
is properly formatted (e.g. in quotes).  The strtol was thus accessing
uninitialized memory and crashing ofono.

14 years agostkutil: Make sure bc_repeat is used properly
Denis Kenzior [Wed, 16 Jun 2010 22:26:33 +0000 (17:26 -0500)]
stkutil: Make sure bc_repeat is used properly

The wrong structure was being used in the function & the has_bc_repeat
variable was not being set properly.

14 years agostkutil: Merge two versions of bcch_channel_list
Denis Kenzior [Wed, 16 Jun 2010 22:23:44 +0000 (17:23 -0500)]
stkutil: Merge two versions of bcch_channel_list

14 years agostk: Add parser for UTRAN meas qualifier objects
Yang Gu [Sun, 13 Jun 2010 09:43:22 +0000 (17:43 +0800)]
stk: Add parser for UTRAN meas qualifier objects

14 years agostk: Add parser for PDP activation param objects
Yang Gu [Sun, 13 Jun 2010 09:43:21 +0000 (17:43 +0800)]
stk: Add parser for PDP activation param objects

14 years agostk: Add parser for bcch channel list objects
Yang Gu [Sun, 13 Jun 2010 09:43:19 +0000 (17:43 +0800)]
stk: Add parser for bcch channel list objects

14 years agostk: Add parser for cell broadcast page objects
Yang Gu [Sun, 13 Jun 2010 09:43:18 +0000 (17:43 +0800)]
stk: Add parser for cell broadcast page objects

14 years agoAdd several proactive command parsers
Yang Gu [Sun, 13 Jun 2010 09:43:17 +0000 (17:43 +0800)]
Add several proactive command parsers

14 years agoteststk: Add test for send ss parser
Yang Gu [Sun, 13 Jun 2010 09:43:12 +0000 (17:43 +0800)]
teststk: Add test for send ss parser

14 years agostk: Add parser for send ss commands
Yang Gu [Sun, 13 Jun 2010 09:43:11 +0000 (17:43 +0800)]
stk: Add parser for send ss commands

14 years agoFix previous commit that broke reference to PDU string buffer
Marcel Holtmann [Wed, 16 Jun 2010 14:49:14 +0000 (16:49 +0200)]
Fix previous commit that broke reference to PDU string buffer

14 years agoFix memory allocation handling for STK Proactive command debug
Marcel Holtmann [Wed, 16 Jun 2010 13:55:53 +0000 (15:55 +0200)]
Fix memory allocation handling for STK Proactive command debug

14 years agoUse PROFILE DOWNLOAD to detect SIM Toolkit support for MBM
Marcel Holtmann [Wed, 16 Jun 2010 08:38:08 +0000 (10:38 +0200)]
Use PROFILE DOWNLOAD to detect SIM Toolkit support for MBM

14 years agostkutil: Minor style cleanups in stkutil
Denis Kenzior [Tue, 15 Jun 2010 16:03:53 +0000 (11:03 -0500)]
stkutil: Minor style cleanups in stkutil

14 years agostkutil: Add Terminal Applications envelope builder
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:57 +0000 (12:39 +0200)]
stkutil: Add Terminal Applications envelope builder

This is not a terribly useful function as the user still needs to
split the list in separate envelopes.  The .type field could be an
enum.

14 years agostkutil: Add MMS Notification DL envelope builder
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:56 +0000 (12:39 +0200)]
stkutil: Add MMS Notification DL envelope builder

14 years agostkutil: Add MMS Transfer Status envelope builder
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:55 +0000 (12:39 +0200)]
stkutil: Add MMS Transfer Status envelope builder

14 years agostkutil: Add the USSD Download envelope builder
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:54 +0000 (12:39 +0200)]
stkutil: Add the USSD Download envelope builder

14 years agotest-stkutil: Tests for Timer Expiration envelope
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:53 +0000 (12:39 +0200)]
test-stkutil: Tests for Timer Expiration envelope

14 years agostkutil: Add the Timer Expiration envelope builder
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:52 +0000 (12:39 +0200)]
stkutil: Add the Timer Expiration envelope builder

14 years agotest-stkutil: Tests for Event Download envelope
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:51 +0000 (12:39 +0200)]
test-stkutil: Tests for Event Download envelope

14 years agostkutil: Add the Event Download envelope builder
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:50 +0000 (12:39 +0200)]
stkutil: Add the Event Download envelope builder

14 years agostkutil: Refactor struct stk_frames_info
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:49 +0000 (12:39 +0200)]
stkutil: Refactor struct stk_frames_info

14 years agostkutil: Refactor struct stk_other_address
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:48 +0000 (12:39 +0200)]
stkutil: Refactor struct stk_other_address

14 years agotest-stkutil: Tests for Call Control envelope
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:47 +0000 (12:39 +0200)]
test-stkutil: Tests for Call Control envelope

14 years agostkutil: Add the Call Control envelope builder
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:46 +0000 (12:39 +0200)]
stkutil: Add the Call Control envelope builder

14 years agoRemove all voice related atoms from MBM modem support
Marcel Holtmann [Tue, 15 Jun 2010 12:16:43 +0000 (14:16 +0200)]
Remove all voice related atoms from MBM modem support

14 years agoatmodem: Couple tiny style fixes
Denis Kenzior [Mon, 14 Jun 2010 17:45:04 +0000 (12:45 -0500)]
atmodem: Couple tiny style fixes

14 years agoReport cell technology capability for Option HSO modems
Daniel Wagner [Mon, 14 Jun 2010 17:37:03 +0000 (19:37 +0200)]
Report cell technology capability for Option HSO modems

Option modem use OCTI and OUWCTI commands
for reporting the cell capability.

14 years agoFix memory leak introduced by HSO quirk
Marcel Holtmann [Sun, 13 Jun 2010 09:46:29 +0000 (11:46 +0200)]
Fix memory leak introduced by HSO quirk

14 years agoAdd nasty quirk to allow HSO devices to read network code length
Marcel Holtmann [Sun, 13 Jun 2010 06:10:13 +0000 (08:10 +0200)]
Add nasty quirk to allow HSO devices to read network code length

The AT+CRSM=192 commands are failing on HSO devices and thus it might
be needed to return its details from a predefined database. Start with
testing this for reading the network code length.

14 years agoUse Qualcomm quirk for CBS on HSO devices
Marcel Holtmann [Sun, 13 Jun 2010 05:02:55 +0000 (07:02 +0200)]
Use Qualcomm quirk for CBS on HSO devices

14 years agoRelease 0.23 0.23
Marcel Holtmann [Sat, 12 Jun 2010 19:56:53 +0000 (21:56 +0200)]
Release 0.23

14 years agoJust call the feature "net" instead of "netreg"
Marcel Holtmann [Sat, 12 Jun 2010 19:41:48 +0000 (21:41 +0200)]
Just call the feature "net" instead of "netreg"

14 years agoatmodem: Shutdown ppp cleanly on remove
Denis Kenzior [Fri, 11 Jun 2010 14:17:27 +0000 (09:17 -0500)]
atmodem: Shutdown ppp cleanly on remove

There is a race condition from udev / kernel when a USB dongle is
removed.  Sometimes all ports are removed first (and the io channels for
those ports are signaled as hupped) while other times the udev remove
event fires first.

If the latter happens, then gprs_context remove is called with a
potentially live ppp object.  This patch shuts it down cleanly.

14 years agoatmodem: Always unref ppp when context is down
Denis Kenzior [Fri, 11 Jun 2010 14:16:25 +0000 (09:16 -0500)]
atmodem: Always unref ppp when context is down

14 years agogatppp: whitespace issues
Denis Kenzior [Fri, 11 Jun 2010 14:15:48 +0000 (09:15 -0500)]
gatppp: whitespace issues

14 years agogatppp: Unref HDLC when unrefing PPP
Denis Kenzior [Fri, 11 Jun 2010 14:15:32 +0000 (09:15 -0500)]
gatppp: Unref HDLC when unrefing PPP

14 years agogathdlc: Free the main HDLC structure on unref
Denis Kenzior [Fri, 11 Jun 2010 14:15:03 +0000 (09:15 -0500)]
gathdlc: Free the main HDLC structure on unref

14 years agoDisable CNMA support for Novatel based devices
Marcel Holtmann [Fri, 11 Jun 2010 04:06:48 +0000 (21:06 -0700)]
Disable CNMA support for Novatel based devices

14 years agoatmodem: Allow ME & SM for status report store
Denis Kenzior [Fri, 11 Jun 2010 03:23:05 +0000 (22:23 -0500)]
atmodem: Allow ME & SM for status report store

14 years agoatmodem: Force CDSI delivery for Novatel devices
Denis Kenzior [Fri, 11 Jun 2010 01:21:33 +0000 (20:21 -0500)]
atmodem: Force CDSI delivery for Novatel devices

14 years agoatmodem: Add support for status report via CDSI
Denis Kenzior [Fri, 11 Jun 2010 01:13:50 +0000 (20:13 -0500)]
atmodem: Add support for status report via CDSI

14 years agoatmodem: Use atutil based functions
Denis Kenzior [Fri, 11 Jun 2010 01:08:10 +0000 (20:08 -0500)]
atmodem: Use atutil based functions

14 years agoatmodem: Add utility for parsing CMTI/CDSI/CBMI
Denis Kenzior [Fri, 11 Jun 2010 01:06:26 +0000 (20:06 -0500)]
atmodem: Add utility for parsing CMTI/CDSI/CBMI

14 years agoatmodem: Register for notifications after CMGL
Denis Kenzior [Thu, 10 Jun 2010 23:43:30 +0000 (18:43 -0500)]
atmodem: Register for notifications after CMGL

14 years agoatmodem: Split out the +CPMS sender
Denis Kenzior [Thu, 10 Jun 2010 23:41:29 +0000 (18:41 -0500)]
atmodem: Split out the +CPMS sender

Just before sending a CMGR for +CMTI notification, use need to
optionally send a CPMS to select the proper storage.  This should be
done in a separate function for potential re-use by CDSI

14 years agoRemove hfpmodem's header guard
Gustavo F. Padovan [Tue, 8 Jun 2010 07:44:00 +0000 (04:44 -0300)]
Remove hfpmodem's header guard

14 years agoAdd support for Features property on modem interface
Marcel Holtmann [Thu, 10 Jun 2010 03:46:10 +0000 (20:46 -0700)]
Add support for Features property on modem interface

14 years agoMove data connection manager interface constants into common include
Marcel Holtmann [Thu, 10 Jun 2010 03:38:50 +0000 (20:38 -0700)]
Move data connection manager interface constants into common include

14 years agoRename CbsManger into CellBroadcast
Marcel Holtmann [Thu, 10 Jun 2010 03:07:11 +0000 (20:07 -0700)]
Rename CbsManger into CellBroadcast

Other D-Bus interfaces use clear descriptions like SupplementaryServices
or NetworkRegistration. So use CellBroadcast for cell broadcast support.

14 years agoAnd some more minor coding style cleanup in SMS driver
Marcel Holtmann [Thu, 10 Jun 2010 02:13:57 +0000 (19:13 -0700)]
And some more minor coding style cleanup in SMS driver

14 years agoFix coding style for one comment in SMS driver
Marcel Holtmann [Thu, 10 Jun 2010 02:12:24 +0000 (19:12 -0700)]
Fix coding style for one comment in SMS driver

14 years agoAdd test script to enable/disable use of delivery reports
Marcel Holtmann [Thu, 10 Jun 2010 02:04:25 +0000 (19:04 -0700)]
Add test script to enable/disable use of delivery reports

14 years agoAdd test script for setting CBS topics
Marcel Holtmann [Thu, 10 Jun 2010 01:58:38 +0000 (18:58 -0700)]
Add test script for setting CBS topics

14 years agoEnable Qualcomm specific CBS quirk for Novatel and Huawei devices
Marcel Holtmann [Thu, 10 Jun 2010 01:42:09 +0000 (18:42 -0700)]
Enable Qualcomm specific CBS quirk for Novatel and Huawei devices

14 years agoAdd quirk for Qualcomm issues with setting CBS topic ranges
Marcel Holtmann [Thu, 10 Jun 2010 01:40:59 +0000 (18:40 -0700)]
Add quirk for Qualcomm issues with setting CBS topic ranges

14 years agoCoding style fix for the PIN type table
Marcel Holtmann [Thu, 10 Jun 2010 01:23:05 +0000 (18:23 -0700)]
Coding style fix for the PIN type table

14 years agostkutil: Refactor stk_location_info
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:38 +0000 (12:08 +0200)]
stkutil: Refactor stk_location_info

In some cases an empty stk_location_info means that no object should be
emitted (e.g. it is optional) and in other cases an empty object should
be emitted.  This is context specific to the terminal response /
envelope and thus we break this up into two separate functions.

14 years agotest-stkutil: MO SMS Control envelope tests
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:37 +0000 (12:08 +0200)]
test-stkutil: MO SMS Control envelope tests

14 years agostkutil: Add MO SMS Control envelope builder
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:36 +0000 (12:08 +0200)]
stkutil: Add MO SMS Control envelope builder

14 years agosimutil: Remove unneeded forward-declaration
Denis Kenzior [Wed, 9 Jun 2010 18:08:23 +0000 (13:08 -0500)]
simutil: Remove unneeded forward-declaration

14 years agosimutil: Fix MMC MNC encoding for 2-digit MNCs.
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:33 +0000 (12:08 +0200)]
simutil: Fix MMC MNC encoding for 2-digit MNCs.

14 years agoutil: Add a "sim string" encoding utility.
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:32 +0000 (12:08 +0200)]
util: Add a "sim string" encoding utility.

14 years agotest-stkutil: Menu Selection envelope tests
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:31 +0000 (12:08 +0200)]
test-stkutil: Menu Selection envelope tests

14 years agostkutil: Add the Menu Selection envelope builder
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:30 +0000 (12:08 +0200)]
stkutil: Add the Menu Selection envelope builder

14 years agotest-stkutil: CBS-PP Data Download envelope tests
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:29 +0000 (12:08 +0200)]
test-stkutil: CBS-PP Data Download envelope tests

14 years agoFix: download CBS to SIM even when "Powered" is 0
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:28 +0000 (12:08 +0200)]
Fix: download CBS to SIM even when "Powered" is 0

14 years agostk: Use envelope encoding utility from stkutil.c
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:27 +0000 (12:08 +0200)]
stk: Use envelope encoding utility from stkutil.c

14 years agostkutil: Add CBS-PP Data Download envelope builder
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:26 +0000 (12:08 +0200)]
stkutil: Add CBS-PP Data Download envelope builder

14 years agotest-stkutil: SMS-PP Data Download envelope tests
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:25 +0000 (12:08 +0200)]
test-stkutil: SMS-PP Data Download envelope tests

14 years agostkutil: Add SMS-PP Data Download envelope builder
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:24 +0000 (12:08 +0200)]
stkutil: Add SMS-PP Data Download envelope builder

14 years agostkutil: Use static buf in stk_pdu_from_response
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:23 +0000 (12:08 +0200)]
stkutil: Use static buf in stk_pdu_from_response

14 years agoatmodem: Fix CPUC parser
Denis Kenzior [Tue, 8 Jun 2010 01:36:40 +0000 (20:36 -0500)]
atmodem: Fix CPUC parser

Apparently some modems are extra stupid:

AT+CPUC?\r
\r\n+CPUC: \r\nOK\r\n

So if we fail to parse the response, return an error

14 years agogatchat: Check for disconnection when resuming
Denis Kenzior [Tue, 8 Jun 2010 00:32:26 +0000 (19:32 -0500)]
gatchat: Check for disconnection when resuming

If the internal GAtIO is no longer valid, treat it as if our channel was
disconnected.

14 years agohuawei: Rework huawei plugin
Denis Kenzior [Tue, 8 Jun 2010 00:07:05 +0000 (19:07 -0500)]
huawei: Rework huawei plugin

- Use the PCUI (event) port for all commands unrelated to ppp
- Use the Modem port for ppp

14 years agonetreg: whitespace style
Denis Kenzior [Tue, 8 Jun 2010 00:06:57 +0000 (19:06 -0500)]
netreg: whitespace style

14 years agonetreg: Add Huawei RSSI unsolicited callback
Denis Kenzior [Tue, 8 Jun 2010 00:06:36 +0000 (19:06 -0500)]
netreg: Add Huawei RSSI unsolicited callback

14 years agoMention Florian's contributions
Denis Kenzior [Tue, 8 Jun 2010 00:05:27 +0000 (19:05 -0500)]
Mention Florian's contributions

14 years agoudev: Fixup Huawei detection
Denis Kenzior [Tue, 8 Jun 2010 00:04:36 +0000 (19:04 -0500)]
udev: Fixup Huawei detection

14 years agoudev: Add support for Huawei E176
Florian Steinel [Sun, 30 May 2010 13:47:21 +0000 (15:47 +0200)]
udev: Add support for Huawei E176