Gustavo F. Padovan [Sun, 20 Jun 2010 08:51:20 +0000 (05:51 -0300)]
bluetooth: add device_properties_cb() and has_uuid()
Gustavo F. Padovan [Sun, 20 Jun 2010 08:51:19 +0000 (05:51 -0300)]
bluetooth: Move functions from hfp.c to bluetooth.c
The part that call device_properties_cb is commented to permit this patch
compile.
device_properties_cb() will be changed, so it will have separated patch.
Denis Kenzior [Mon, 21 Jun 2010 20:40:14 +0000 (15:40 -0500)]
storage: whitespace issue
Denis Kenzior [Mon, 21 Jun 2010 20:33:13 +0000 (15:33 -0500)]
smsutil: Fix up some comment style
Andrzej Zaborowski [Mon, 21 Jun 2010 08:41:10 +0000 (10:41 +0200)]
test-common: Avoid accessing an unitialised variable.
Fixes a segfault, reported by valrgind as:
[...]
==6300== Use of uninitialised value of size 4
==6300== at 0x8048B4D: test_invalid (test-common.c:81)
Andrzej Zaborowski [Mon, 21 Jun 2010 08:41:11 +0000 (10:41 +0200)]
stkutil: Remove obsolete comment.
Denis Kenzior [Mon, 21 Jun 2010 20:03:42 +0000 (15:03 -0500)]
atmodem: Support CDS indicators for MBM
MBM does not advertise support for CNMA, yet only supports CDS style
notifications which do not need to be acknowledged.
Denis Kenzior [Mon, 21 Jun 2010 18:39:17 +0000 (13:39 -0500)]
sms: Only emit property if value actually differs
Denis Kenzior [Mon, 21 Jun 2010 18:38:57 +0000 (13:38 -0500)]
test: Fix the no-argument case
Denis Kenzior [Mon, 21 Jun 2010 20:04:43 +0000 (15:04 -0500)]
unit: Add unit tests for status report assembly
Denis Kenzior [Mon, 21 Jun 2010 17:48:55 +0000 (12:48 -0500)]
smsutil: Take ton_npi into account in sr assembly
Denis Kenzior [Mon, 21 Jun 2010 17:42:23 +0000 (12:42 -0500)]
smsutil: More code cleanup
- Change the flow of the code a bit, in the case that all fragments have
been sent and an udelivered sr arrives, we can simply remove the node
and signal undelivered up
- We ignore temporary and temporary final status reports
Denis Kenzior [Mon, 21 Jun 2010 17:03:14 +0000 (12:03 -0500)]
smsutil: Make code flow easier to understand
Denis Kenzior [Mon, 21 Jun 2010 16:29:51 +0000 (11:29 -0500)]
smsutil: multiline comments to preferred style
Denis Kenzior [Mon, 21 Jun 2010 16:28:56 +0000 (11:28 -0500)]
smsutil: Minor code style & indentation fixes
Denis Kenzior [Mon, 21 Jun 2010 16:24:30 +0000 (11:24 -0500)]
sms: Fixup minor style issues with status reports
Pasi Miettinen [Thu, 17 Jun 2010 13:14:57 +0000 (16:14 +0300)]
sms: Status report notify
Denis Kenzior [Mon, 21 Jun 2010 16:20:56 +0000 (11:20 -0500)]
smsutil: memcpy is preferable to struct assignment
Denis Kenzior [Mon, 21 Jun 2010 16:18:26 +0000 (11:18 -0500)]
smsutil: Streamline flow of sr add_fragment
Denis Kenzior [Mon, 21 Jun 2010 20:20:10 +0000 (15:20 -0500)]
Fix: Make distcheck pass
No need to include history.h anyway
Denis Kenzior [Mon, 21 Jun 2010 20:11:30 +0000 (15:11 -0500)]
history: Make example_history use Delivery Reports
Pasi Miettinen [Thu, 17 Jun 2010 13:14:56 +0000 (16:14 +0300)]
history: API change for status report notify
Pasi Miettinen [Thu, 17 Jun 2010 13:14:54 +0000 (16:14 +0300)]
smsutil: Status report assembly
Denis Kenzior [Mon, 21 Jun 2010 14:32:33 +0000 (09:32 -0500)]
Mention Arun's contributions
Arun Ravindran [Fri, 18 Jun 2010 20:12:12 +0000 (23:12 +0300)]
Enabling PDP Context support in atmodem.
Zhenhua Zhang [Mon, 21 Jun 2010 01:49:19 +0000 (09:49 +0800)]
TODO: PPP server support owner
Zhenhua Zhang [Mon, 21 Jun 2010 09:25:39 +0000 (17:25 +0800)]
ppp: Fix leak in pppcp_send_protocol_reject
Free the reject pppcp packet after ppp_transmit.
Yang Gu [Thu, 17 Jun 2010 10:35:10 +0000 (18:35 +0800)]
Refactor ussd parser
Marcel Holtmann [Sat, 19 Jun 2010 18:17:05 +0000 (20:17 +0200)]
Add test script for scanning networks
Denis Kenzior [Fri, 18 Jun 2010 19:24:18 +0000 (14:24 -0500)]
atmodem: Use a switch/case in sim.c
Andrzej Zaborowski [Thu, 17 Jun 2010 13:42:14 +0000 (15:42 +0200)]
mbm: Use MBM vendor quirk of the sim driver.
Andrzej Zaborowski [Thu, 17 Jun 2010 13:42:13 +0000 (15:42 +0200)]
atmodem: Add PIN entry quirk for mbm.
Wait for *EPEV unsolicited response after PIN entered, otherwise the
next AT+CPIN? query still returns the old value for a fraction of a
second and ofono gets stuck until the next PIN entry attempt.
Andrzej Zaborowski [Thu, 17 Jun 2010 13:42:12 +0000 (15:42 +0200)]
mbm: Register stk driver post sim.
Andrzej Zaborowski [Thu, 17 Jun 2010 13:42:11 +0000 (15:42 +0200)]
mbmmodem: Allow no response data for envelope.
Partially reverts
http://git.kernel.org/?p=network/ofono/ofono.git;a=commitdiff;h=
f98c6dc91702c0d14c0afa2a4e32102d3105568d
Andrzej Zaborowski [Thu, 17 Jun 2010 13:42:10 +0000 (15:42 +0200)]
test-stkutil: Add a More Time response builder test
Andrzej Zaborowski [Thu, 17 Jun 2010 13:42:09 +0000 (15:42 +0200)]
stkutil: Add More Time terminal response builder
Denis Kenzior [Fri, 18 Jun 2010 18:59:15 +0000 (13:59 -0500)]
stkutil: USSD max len is 160
Yang Gu [Thu, 17 Jun 2010 10:35:11 +0000 (18:35 +0800)]
stk: Add parser for timing advance objects
Yang Gu [Thu, 17 Jun 2010 10:35:07 +0000 (18:35 +0800)]
teststk: Add test for send ussd parser
Yang Gu [Thu, 17 Jun 2010 10:35:07 +0000 (18:35 +0800)]
smsutil: Add a decoder for ussd pdus
Yang Gu [Thu, 17 Jun 2010 10:35:07 +0000 (18:35 +0800)]
stk: Add parser for send ussd commands
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)
Denis Kenzior [Fri, 18 Jun 2010 17:23:10 +0000 (12:23 -0500)]
gathdlc: Don't crash if unreffed in callback
Zhenhua Zhang [Sat, 12 Jun 2010 05:50:48 +0000 (13:50 +0800)]
gsmdial: Unref ppp when we get disconnected
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