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.
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.
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.
Denis Kenzior [Thu, 17 Jun 2010 10:31:05 +0000 (05:31 -0500)]
hfp: Use bluetooth_parse_properties
Instead of the local version
Denis Kenzior [Thu, 17 Jun 2010 10:30:25 +0000 (05:30 -0500)]
bluetooth: Rename & expose parse_properties
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
Denis Kenzior [Thu, 17 Jun 2010 10:22:05 +0000 (05:22 -0500)]
bluetooth: Rename send_method_call_with_reply
Gustavo F. Padovan [Mon, 14 Jun 2010 18:04:26 +0000 (15:04 -0300)]
Remove send_method_call from hfp.c
Gustavo F. Padovan [Mon, 14 Jun 2010 18:04:27 +0000 (15:04 -0300)]
Move create_path() to bluetooth plugin
Gustavo F. Padovan [Mon, 14 Jun 2010 18:04:24 +0000 (15:04 -0300)]
Add parse properties stuff 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
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..)
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.
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.
Denis Kenzior [Wed, 16 Jun 2010 22:23:44 +0000 (17:23 -0500)]
stkutil: Merge two versions of bcch_channel_list
Yang Gu [Sun, 13 Jun 2010 09:43:22 +0000 (17:43 +0800)]
stk: Add parser for UTRAN meas qualifier objects
Yang Gu [Sun, 13 Jun 2010 09:43:21 +0000 (17:43 +0800)]
stk: Add parser for PDP activation param objects
Yang Gu [Sun, 13 Jun 2010 09:43:19 +0000 (17:43 +0800)]
stk: Add parser for bcch channel list objects
Yang Gu [Sun, 13 Jun 2010 09:43:18 +0000 (17:43 +0800)]
stk: Add parser for cell broadcast page objects
Yang Gu [Sun, 13 Jun 2010 09:43:17 +0000 (17:43 +0800)]
Add several proactive command parsers
Yang Gu [Sun, 13 Jun 2010 09:43:12 +0000 (17:43 +0800)]
teststk: Add test for send ss parser
Yang Gu [Sun, 13 Jun 2010 09:43:11 +0000 (17:43 +0800)]
stk: Add parser for send ss commands
Marcel Holtmann [Wed, 16 Jun 2010 14:49:14 +0000 (16:49 +0200)]
Fix previous commit that broke reference to PDU string buffer
Marcel Holtmann [Wed, 16 Jun 2010 13:55:53 +0000 (15:55 +0200)]
Fix memory allocation handling for STK Proactive command debug
Marcel Holtmann [Wed, 16 Jun 2010 08:38:08 +0000 (10:38 +0200)]
Use PROFILE DOWNLOAD to detect SIM Toolkit support for MBM
Denis Kenzior [Tue, 15 Jun 2010 16:03:53 +0000 (11:03 -0500)]
stkutil: Minor style cleanups in stkutil
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.
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:56 +0000 (12:39 +0200)]
stkutil: Add MMS Notification DL envelope builder
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:55 +0000 (12:39 +0200)]
stkutil: Add MMS Transfer Status envelope builder
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:54 +0000 (12:39 +0200)]
stkutil: Add the USSD Download envelope builder
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:53 +0000 (12:39 +0200)]
test-stkutil: Tests for Timer Expiration envelope
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:52 +0000 (12:39 +0200)]
stkutil: Add the Timer Expiration envelope builder
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:51 +0000 (12:39 +0200)]
test-stkutil: Tests for Event Download envelope
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:50 +0000 (12:39 +0200)]
stkutil: Add the Event Download envelope builder
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:49 +0000 (12:39 +0200)]
stkutil: Refactor struct stk_frames_info
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:48 +0000 (12:39 +0200)]
stkutil: Refactor struct stk_other_address
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:47 +0000 (12:39 +0200)]
test-stkutil: Tests for Call Control envelope
Andrzej Zaborowski [Fri, 11 Jun 2010 10:39:46 +0000 (12:39 +0200)]
stkutil: Add the Call Control envelope builder
Marcel Holtmann [Tue, 15 Jun 2010 12:16:43 +0000 (14:16 +0200)]
Remove all voice related atoms from MBM modem support
Denis Kenzior [Mon, 14 Jun 2010 17:45:04 +0000 (12:45 -0500)]
atmodem: Couple tiny style fixes
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.
Marcel Holtmann [Sun, 13 Jun 2010 09:46:29 +0000 (11:46 +0200)]
Fix memory leak introduced by HSO quirk
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.
Marcel Holtmann [Sun, 13 Jun 2010 05:02:55 +0000 (07:02 +0200)]
Use Qualcomm quirk for CBS on HSO devices
Marcel Holtmann [Sat, 12 Jun 2010 19:56:53 +0000 (21:56 +0200)]
Release 0.23
Marcel Holtmann [Sat, 12 Jun 2010 19:41:48 +0000 (21:41 +0200)]
Just call the feature "net" instead of "netreg"
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.
Denis Kenzior [Fri, 11 Jun 2010 14:16:25 +0000 (09:16 -0500)]
atmodem: Always unref ppp when context is down
Denis Kenzior [Fri, 11 Jun 2010 14:15:48 +0000 (09:15 -0500)]
gatppp: whitespace issues
Denis Kenzior [Fri, 11 Jun 2010 14:15:32 +0000 (09:15 -0500)]
gatppp: Unref HDLC when unrefing PPP
Denis Kenzior [Fri, 11 Jun 2010 14:15:03 +0000 (09:15 -0500)]
gathdlc: Free the main HDLC structure on unref
Marcel Holtmann [Fri, 11 Jun 2010 04:06:48 +0000 (21:06 -0700)]
Disable CNMA support for Novatel based devices
Denis Kenzior [Fri, 11 Jun 2010 03:23:05 +0000 (22:23 -0500)]
atmodem: Allow ME & SM for status report store
Denis Kenzior [Fri, 11 Jun 2010 01:21:33 +0000 (20:21 -0500)]
atmodem: Force CDSI delivery for Novatel devices
Denis Kenzior [Fri, 11 Jun 2010 01:13:50 +0000 (20:13 -0500)]
atmodem: Add support for status report via CDSI
Denis Kenzior [Fri, 11 Jun 2010 01:08:10 +0000 (20:08 -0500)]
atmodem: Use atutil based functions
Denis Kenzior [Fri, 11 Jun 2010 01:06:26 +0000 (20:06 -0500)]
atmodem: Add utility for parsing CMTI/CDSI/CBMI
Denis Kenzior [Thu, 10 Jun 2010 23:43:30 +0000 (18:43 -0500)]
atmodem: Register for notifications after CMGL
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
Gustavo F. Padovan [Tue, 8 Jun 2010 07:44:00 +0000 (04:44 -0300)]
Remove hfpmodem's header guard
Marcel Holtmann [Thu, 10 Jun 2010 03:46:10 +0000 (20:46 -0700)]
Add support for Features property on modem interface
Marcel Holtmann [Thu, 10 Jun 2010 03:38:50 +0000 (20:38 -0700)]
Move data connection manager interface constants into common include
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.
Marcel Holtmann [Thu, 10 Jun 2010 02:13:57 +0000 (19:13 -0700)]
And some more minor coding style cleanup 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
Marcel Holtmann [Thu, 10 Jun 2010 02:04:25 +0000 (19:04 -0700)]
Add test script to enable/disable use of delivery reports
Marcel Holtmann [Thu, 10 Jun 2010 01:58:38 +0000 (18:58 -0700)]
Add test script for setting CBS topics
Marcel Holtmann [Thu, 10 Jun 2010 01:42:09 +0000 (18:42 -0700)]
Enable Qualcomm specific CBS quirk for Novatel and Huawei devices
Marcel Holtmann [Thu, 10 Jun 2010 01:40:59 +0000 (18:40 -0700)]
Add quirk for Qualcomm issues with setting CBS topic ranges
Marcel Holtmann [Thu, 10 Jun 2010 01:23:05 +0000 (18:23 -0700)]
Coding style fix for the PIN type table
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.
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:37 +0000 (12:08 +0200)]
test-stkutil: MO SMS Control envelope tests
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:36 +0000 (12:08 +0200)]
stkutil: Add MO SMS Control envelope builder
Denis Kenzior [Wed, 9 Jun 2010 18:08:23 +0000 (13:08 -0500)]
simutil: Remove unneeded forward-declaration
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:33 +0000 (12:08 +0200)]
simutil: Fix MMC MNC encoding for 2-digit MNCs.
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:32 +0000 (12:08 +0200)]
util: Add a "sim string" encoding utility.
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:31 +0000 (12:08 +0200)]
test-stkutil: Menu Selection envelope tests
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:30 +0000 (12:08 +0200)]
stkutil: Add the Menu Selection envelope builder
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:29 +0000 (12:08 +0200)]
test-stkutil: CBS-PP Data Download envelope tests
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:28 +0000 (12:08 +0200)]
Fix: download CBS to SIM even when "Powered" is 0
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:27 +0000 (12:08 +0200)]
stk: Use envelope encoding utility from stkutil.c
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:26 +0000 (12:08 +0200)]
stkutil: Add CBS-PP Data Download envelope builder
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:25 +0000 (12:08 +0200)]
test-stkutil: SMS-PP Data Download envelope tests
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:24 +0000 (12:08 +0200)]
stkutil: Add SMS-PP Data Download envelope builder
Andrzej Zaborowski [Mon, 7 Jun 2010 10:08:23 +0000 (12:08 +0200)]
stkutil: Use static buf in stk_pdu_from_response
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
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.
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
Denis Kenzior [Tue, 8 Jun 2010 00:06:57 +0000 (19:06 -0500)]
netreg: whitespace style
Denis Kenzior [Tue, 8 Jun 2010 00:06:36 +0000 (19:06 -0500)]
netreg: Add Huawei RSSI unsolicited callback
Denis Kenzior [Tue, 8 Jun 2010 00:05:27 +0000 (19:05 -0500)]
Mention Florian's contributions
Denis Kenzior [Tue, 8 Jun 2010 00:04:36 +0000 (19:04 -0500)]
udev: Fixup Huawei detection
Florian Steinel [Sun, 30 May 2010 13:47:21 +0000 (15:47 +0200)]
udev: Add support for Huawei E176
Denis Kenzior [Mon, 7 Jun 2010 20:08:58 +0000 (15:08 -0500)]
cbs: Send ETWS topics last
Denis Kenzior [Mon, 7 Jun 2010 18:14:50 +0000 (13:14 -0500)]
test: Refactor previous commit
Pasi Miettinen [Mon, 7 Jun 2010 09:53:29 +0000 (12:53 +0300)]
test: Set UseDeliveryReports in send-sms
Denis Kenzior [Mon, 7 Jun 2010 18:05:50 +0000 (13:05 -0500)]
sms: style fix, remove extra newline
Pasi Miettinen [Mon, 7 Jun 2010 09:53:28 +0000 (12:53 +0300)]
sms: Add UseDeliveryReports property
Pasi Miettinen [Mon, 7 Jun 2010 09:53:27 +0000 (12:53 +0300)]
test-sms: Update unit test to the new API
Pasi Miettinen [Mon, 7 Jun 2010 09:53:26 +0000 (12:53 +0300)]
smsutil: Add option to use delivery reports