Denis Kenzior [Thu, 21 Jan 2010 03:35:33 +0000 (21:35 -0600)]
Fix: Process CBS settings even if no EFcbmid
If EFcbmid is not present, corrupt or empty the code that bootstraps the
CBS settings is never called.
Denis Kenzior [Thu, 21 Jan 2010 03:34:19 +0000 (21:34 -0600)]
Fix: Print errors for unlikely CBS failures
These indicate driver / hardware issues rather than anything else.
Denis Kenzior [Thu, 21 Jan 2010 03:08:52 +0000 (21:08 -0600)]
Fix: NULL check both set_topics and clear_topics
Denis Kenzior [Thu, 21 Jan 2010 03:03:17 +0000 (21:03 -0600)]
Fix: Make the powered setting actually work
Denis Kenzior [Wed, 20 Jan 2010 20:21:22 +0000 (14:21 -0600)]
Refactor: Reorder argument order
The order of arguments was a bit confusing, reorder them to make more
logical sense.
Zhenhua Zhang [Fri, 15 Jan 2010 01:15:38 +0000 (09:15 +0800)]
Add gatutil.c to share common APIs with GAtServer
Add gatutil.c/h gat.h and move shared typedef and APIs into it.
So that they can be shared by GAtServer and GAtChat.
Denis Kenzior [Wed, 20 Jan 2010 16:26:02 +0000 (10:26 -0600)]
Fix: Default to powered=true for CBS
Denis Kenzior [Wed, 20 Jan 2010 16:16:24 +0000 (10:16 -0600)]
Mention Jussi's contributions
Denis Kenzior [Wed, 20 Jan 2010 16:14:01 +0000 (10:14 -0600)]
Style: Don't go over 80 characters per line
Jussi Kukkonen [Mon, 18 Jan 2010 14:30:13 +0000 (16:30 +0200)]
Add quirk for cid and lac handling for Huawei
Marcel Holtmann [Sun, 17 Jan 2010 03:29:43 +0000 (19:29 -0800)]
Add command line option for printing version number
Denis Kenzior [Fri, 15 Jan 2010 16:24:01 +0000 (10:24 -0600)]
Fix: One more fix for disconnect detection
In situations where lots of data is generated by the remote side (e.g.
phonebook is being read) we can get our ring buffer filled up. In this
case setting rbytes to zero first and then breaking out of the loop
leads to an erroneous disconnect detection. The fix is to move setting
of rbytes after we know we still have some space.
Denis Kenzior [Thu, 14 Jan 2010 16:25:14 +0000 (10:25 -0600)]
Fix: Make remote disconnect detection work
Aki Niemi [Tue, 12 Jan 2010 12:45:01 +0000 (14:45 +0200)]
Refactor phonebook driver
Aki Niemi [Tue, 12 Jan 2010 11:18:03 +0000 (13:18 +0200)]
Refactor supplementary service drivers
Aki Niemi [Tue, 12 Jan 2010 08:58:08 +0000 (10:58 +0200)]
Refactor SIM driver
Aki Niemi [Tue, 12 Jan 2010 08:57:43 +0000 (10:57 +0200)]
Refactor CBS driver
Aki Niemi [Tue, 12 Jan 2010 08:49:30 +0000 (10:49 +0200)]
Clean up style issues
Aki Niemi [Tue, 12 Jan 2010 08:35:44 +0000 (10:35 +0200)]
Fix cell ID and LAC values
Marcel Holtmann [Wed, 13 Jan 2010 21:17:24 +0000 (13:17 -0800)]
Release 0.16
Denis Kenzior [Wed, 13 Jan 2010 17:40:15 +0000 (11:40 -0600)]
Fix: Don't try to unregister a null mcc/mnc
Network operators with null MCC & MNC are not registered, but we try to
unregister them. Don't do this as it causes a crash.
Denis Kenzior [Wed, 13 Jan 2010 00:20:51 +0000 (18:20 -0600)]
Make setting CPHS MWIS actually work
Andrzej Zaborowski [Mon, 11 Jan 2010 16:30:35 +0000 (17:30 +0100)]
Persist CBS Topics list, handle EF-CBMI, EF-CBMIR.
The two SIM files are only used to bootstrap the topics list value
if there's no previous value.
Denis Kenzior [Tue, 12 Jan 2010 16:34:27 +0000 (10:34 -0600)]
Style: Extraneous space
Denis Kenzior [Tue, 12 Jan 2010 16:33:30 +0000 (10:33 -0600)]
Style: space after function argument comma pair
Denis Kenzior [Tue, 12 Jan 2010 16:33:09 +0000 (10:33 -0600)]
Style: Various issues
Denis Kenzior [Tue, 12 Jan 2010 16:31:34 +0000 (10:31 -0600)]
Style: Should be a space after if
Denis Kenzior [Tue, 12 Jan 2010 16:30:42 +0000 (10:30 -0600)]
Style: Various issues
Denis Kenzior [Tue, 12 Jan 2010 16:29:16 +0000 (10:29 -0600)]
Style: Various issues
Denis Kenzior [Tue, 12 Jan 2010 16:28:37 +0000 (10:28 -0600)]
Style: Trailing whitespace & extra lines
Denis Kenzior [Tue, 12 Jan 2010 23:54:18 +0000 (17:54 -0600)]
Fix: Make the CPHS MWIS version actually work
Denis Kenzior [Tue, 12 Jan 2010 23:53:56 +0000 (17:53 -0600)]
Refactor: Move copy-pasted code into a function
Denis Kenzior [Tue, 12 Jan 2010 21:57:23 +0000 (15:57 -0600)]
Fix: Refactor error conditions
Denis Kenzior [Tue, 12 Jan 2010 21:55:19 +0000 (15:55 -0600)]
Reorder CPHS initializatin order
Two issues
- CPHS MWIS file must always be read, the specification isn't clear
whether it depends on the Mailbox service to be available
- CPHS MBDN file must be read after we read EFmbdn, otherwise it will
not be processed properly
Denis Kenzior [Tue, 12 Jan 2010 21:53:19 +0000 (15:53 -0600)]
Fix: Create a dedicated callback for syncs
When synchronizing CPHS MBDN, create a separate callback that doesn't
try to emit signals, etc since the main work has already been done when
EFmbdn was set successfully.
Denis Kenzior [Tue, 12 Jan 2010 21:51:28 +0000 (15:51 -0600)]
Remove #if 0
Denis Kenzior [Tue, 12 Jan 2010 21:45:30 +0000 (15:45 -0600)]
Fix: Don't recurse infinitely
We try to keep the CPHS MBDN elementary file in sync with EFmbdn,
unfortunately we share the same callback, which leads to infinite
recursive writes.
Also cleanup the set_mbdn_request structure if the write fails.
Denis Kenzior [Tue, 12 Jan 2010 17:27:31 +0000 (11:27 -0600)]
Refactor: Rename & Restructure cphs_support
- Rename to cphs_service_table to be more inline with the specification.
- Since the spec allows arbitrary length service tables, use an unsigned
char * return instead of a short.
- Use bit_field function instead of defining an enum
Denis Kenzior [Tue, 12 Jan 2010 17:23:21 +0000 (11:23 -0600)]
Rename: Rename CPHS Phase enums
Be more consistent with the 3GPP Phase names
Andrzej Zaborowski [Thu, 7 Jan 2010 11:39:21 +0000 (12:39 +0100)]
If EF-MWIS is not available use the CPHS version.
Andrzej Zaborowski [Thu, 7 Jan 2010 11:39:00 +0000 (12:39 +0100)]
Use CPHS version of mailbox numbers on SIM if 3GPP version not available.
Otherwise just try to keep the CPHS version of the files in sync.
Andrzej Zaborowski [Thu, 7 Jan 2010 11:38:47 +0000 (12:38 +0100)]
Retrieve CPHS phase (if any) from SIM.
Aki Niemi [Mon, 11 Jan 2010 09:08:42 +0000 (11:08 +0200)]
Remove trailing/leading whitespace
Aki Niemi [Fri, 8 Jan 2010 08:59:45 +0000 (10:59 +0200)]
Fix new and renamed files in Makefile.am
Aki Niemi [Fri, 8 Jan 2010 08:59:17 +0000 (10:59 +0200)]
Refactor devinfo driver
Aki Niemi [Fri, 8 Jan 2010 08:59:05 +0000 (10:59 +0200)]
Add support for modem control
This adds support to the PN_MTC server, allowing querying and control
of the modem power state.
Aki Niemi [Fri, 8 Jan 2010 08:58:22 +0000 (10:58 +0200)]
Refactor netreg driver
Aki Niemi [Fri, 8 Jan 2010 08:58:08 +0000 (10:58 +0200)]
Refactor voicecall driver
Aki Niemi [Fri, 8 Jan 2010 08:57:59 +0000 (10:57 +0200)]
Refactor phonebook driver
Aki Niemi [Fri, 8 Jan 2010 08:57:39 +0000 (10:57 +0200)]
User new debug facility
Aki Niemi [Fri, 8 Jan 2010 08:57:01 +0000 (10:57 +0200)]
Include renamed files
Aki Niemi [Fri, 8 Jan 2010 08:55:36 +0000 (10:55 +0200)]
Remove contact from boilerplate
Aki Niemi [Fri, 8 Jan 2010 08:54:43 +0000 (10:54 +0200)]
Add debug implementation
Alsoo remove call specific debugs.
Aki Niemi [Fri, 8 Jan 2010 08:53:42 +0000 (10:53 +0200)]
Split ISI codepoints to separate files
Also, adding infrastructure for debugging ISI messages, with APIs for
turning most common fields into human readable string format.
Aki Niemi [Fri, 8 Jan 2010 08:48:32 +0000 (10:48 +0200)]
Split isi.h into isimodem.h and isiutil.h
Luiz Augusto Von Dentz [Fri, 8 Jan 2010 10:17:19 +0000 (12:17 +0200)]
Fix regression when removing watches
filter_data_find return the first data registered in this case so there is
no guarantee that it return the same data as passed to
filter_data_remove_callback which is the one that should be removed.
The fix is to simple cache the connection removing the correct data before
checking if there is any filter left.
Denis Kenzior [Thu, 7 Jan 2010 20:43:21 +0000 (14:43 -0600)]
Make primary context ids persistent
Denis Kenzior [Thu, 7 Jan 2010 20:42:46 +0000 (14:42 -0600)]
Fix: Be paranoid and check that last is in range
Denis Kenzior [Thu, 7 Jan 2010 20:42:29 +0000 (14:42 -0600)]
Add idmap_take utility
Denis Kenzior [Thu, 7 Jan 2010 20:41:18 +0000 (14:41 -0600)]
Fix: Update unit test to the new return semantics
Denis Kenzior [Thu, 7 Jan 2010 20:07:52 +0000 (14:07 -0600)]
Use idmap to allocate primary context ids
Denis Kenzior [Thu, 7 Jan 2010 20:06:45 +0000 (14:06 -0600)]
Change the semantics to return id > max on failure
Denis Kenzior [Thu, 7 Jan 2010 19:25:32 +0000 (13:25 -0600)]
Fix: Fail if no driver or id range set
Denis Kenzior [Thu, 7 Jan 2010 19:25:10 +0000 (13:25 -0600)]
Use the new from_range idmap constructor
Denis Kenzior [Thu, 7 Jan 2010 19:20:48 +0000 (13:20 -0600)]
Add idmap_from_range constructor
Denis Kenzior [Thu, 7 Jan 2010 19:01:12 +0000 (13:01 -0600)]
Refactor: Use idmap to allocate CIDs
Denis Kenzior [Thu, 7 Jan 2010 19:00:55 +0000 (13:00 -0600)]
Update gitignore
Denis Kenzior [Thu, 7 Jan 2010 19:00:41 +0000 (13:00 -0600)]
Add unit test for idmap utilities
Denis Kenzior [Thu, 7 Jan 2010 18:59:51 +0000 (12:59 -0600)]
Add initial implementation of idmap utilities
Marcel Holtmann [Wed, 6 Jan 2010 22:22:40 +0000 (14:22 -0800)]
Use short serial number for udev detected devices
Denis Kenzior [Wed, 6 Jan 2010 21:51:01 +0000 (15:51 -0600)]
Port udev (temporarily) to the new framework
Denis Kenzior [Wed, 6 Jan 2010 21:50:53 +0000 (15:50 -0600)]
Port modemconf to the new framework
Denis Kenzior [Wed, 6 Jan 2010 21:50:41 +0000 (15:50 -0600)]
Port isimodem to the new framework
Denis Kenzior [Wed, 6 Jan 2010 21:50:25 +0000 (15:50 -0600)]
Refactor: Allow persisent modem names
Denis Kenzior [Wed, 6 Jan 2010 20:17:27 +0000 (14:17 -0600)]
Set phase to unknown until we probe it
Denis Kenzior [Wed, 6 Jan 2010 19:19:47 +0000 (13:19 -0600)]
Refactor: Preserve Phase obtained from the SIM
Andrzej Zaborowski [Sat, 19 Dec 2009 01:49:21 +0000 (02:49 +0100)]
Index SIM cache by phase also.
Marcel Holtmann [Sun, 3 Jan 2010 05:42:10 +0000 (21:42 -0800)]
Cleanup of D-Bus mainloop integration
Marcel Holtmann [Sat, 2 Jan 2010 01:04:13 +0000 (17:04 -0800)]
Update copyright information of D-Bus helper library
Marcel Holtmann [Sat, 2 Jan 2010 01:00:10 +0000 (17:00 -0800)]
Update copyright information
Martin Xu [Wed, 30 Dec 2009 08:41:08 +0000 (16:41 +0800)]
Add netmask to HSO GPRS context driver
Luiz Augusto Von Dentz [Tue, 29 Dec 2009 12:10:15 +0000 (14:10 +0200)]
Fix undefined symbols
Luiz Augusto Von Dentz [Tue, 29 Dec 2009 09:16:23 +0000 (11:16 +0200)]
Port gdbus to use g_dbus_add_signal_watch
Luiz Augusto Von Dentz [Tue, 29 Dec 2009 08:53:21 +0000 (10:53 +0200)]
Add initial implementation of g_dbus_add_signal_watch
With g_dbus_add_signal_watch there is no need to register multiple filters
for dbus nor add matching rules manually.
Marcel Holtmann [Thu, 24 Dec 2009 15:22:28 +0000 (07:22 -0800)]
Release 0.15
Marcel Holtmann [Thu, 24 Dec 2009 15:09:09 +0000 (07:09 -0800)]
Use error label instead of err or err_out
Marcel Holtmann [Thu, 24 Dec 2009 15:06:23 +0000 (07:06 -0800)]
Unifiy all GAtChat error labels
Rémi Denis-Courmont [Thu, 17 Dec 2009 07:15:57 +0000 (09:15 +0200)]
gisi: support sending ISI request as a scatter-gather array
Rémi Denis-Courmont [Wed, 16 Dec 2009 11:46:49 +0000 (13:46 +0200)]
gisi: pass object handle to g_isi_verify() callback
This will be needed for GPDS.
Rémi Denis-Courmont [Wed, 16 Dec 2009 11:32:49 +0000 (13:32 +0200)]
gisi: Fix g_isi_verify() type safety
Denis Kenzior [Fri, 18 Dec 2009 03:44:09 +0000 (21:44 -0600)]
Style: Repeat for drivers
Denis Kenzior [Fri, 18 Dec 2009 03:33:48 +0000 (21:33 -0600)]
Style: Repeat for plugins
Denis Kenzior [Fri, 18 Dec 2009 03:31:35 +0000 (21:31 -0600)]
Style: Fix a few more occurences of if/else
See Linux coding style document for details
Denis Kenzior [Fri, 18 Dec 2009 03:25:15 +0000 (21:25 -0600)]
Style: Flip the if statement
The if case should have the multiple expressions
Denis Kenzior [Fri, 18 Dec 2009 03:23:20 +0000 (21:23 -0600)]
Style: Add empty lines where needed
Andrzej Zaborowski [Thu, 17 Dec 2009 20:54:07 +0000 (21:54 +0100)]
Add Powered property to CbsManager.
Denis Kenzior [Fri, 18 Dec 2009 01:29:51 +0000 (19:29 -0600)]
Style: Fixup style issues
Andrzej Zaborowski [Thu, 17 Dec 2009 18:52:32 +0000 (19:52 +0100)]
Handle EF-CBSMID contents.
Denis Kenzior [Fri, 18 Dec 2009 00:59:46 +0000 (18:59 -0600)]
Fix: The extra 00 at the end isn't necessary
Denis Kenzior [Fri, 18 Dec 2009 00:58:22 +0000 (18:58 -0600)]
Fix: Use capitals for hex-encoded pdus