Commit Graph

1666 Commits

Author SHA1 Message Date
Denis Kenzior 5206f9a9dc Fix: Refactor error conditions 2010-01-12 15:57:23 -06:00
Denis Kenzior deb9d88669 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
2010-01-12 15:55:19 -06:00
Denis Kenzior 0d7f8933ff 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.
2010-01-12 15:53:19 -06:00
Denis Kenzior 476bd84b98 Remove #if 0 2010-01-12 15:51:28 -06:00
Denis Kenzior e9b40dbe7a 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.
2010-01-12 15:45:30 -06:00
Denis Kenzior 0382f64353 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
2010-01-12 11:27:31 -06:00
Denis Kenzior 2b231c3f84 Rename: Rename CPHS Phase enums
Be more consistent with the 3GPP Phase names
2010-01-12 11:23:21 -06:00
Andrzej Zaborowski 96a93b5829 If EF-MWIS is not available use the CPHS version. 2010-01-12 11:12:41 -06:00
Andrzej Zaborowski f97d203392 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.
2010-01-12 11:12:01 -06:00
Andrzej Zaborowski 637ca18af4 Retrieve CPHS phase (if any) from SIM. 2010-01-12 10:35:51 -06:00
Aki Niemi 8f99e50ce5 Remove trailing/leading whitespace 2010-01-11 11:08:42 +02:00
Aki Niemi 2617686d4a Fix new and renamed files in Makefile.am 2010-01-11 11:00:30 +02:00
Aki Niemi 63c2dd93b0 Refactor devinfo driver 2010-01-11 10:52:07 +02:00
Aki Niemi 0c7a15b2bd Add support for modem control
This adds support to the PN_MTC server, allowing querying and control
of the modem power state.
2010-01-11 10:52:07 +02:00
Aki Niemi 862358b916 Refactor netreg driver 2010-01-11 10:51:01 +02:00
Aki Niemi b412c1b3e7 Refactor voicecall driver 2010-01-11 10:51:01 +02:00
Aki Niemi e55e324a94 Refactor phonebook driver 2010-01-11 10:51:01 +02:00
Aki Niemi d277e0eb73 User new debug facility 2010-01-11 10:51:01 +02:00
Aki Niemi 5f87037cc3 Include renamed files 2010-01-11 10:51:00 +02:00
Aki Niemi 0bc615eead Remove contact from boilerplate 2010-01-11 10:51:00 +02:00
Aki Niemi d0b3e3b211 Add debug implementation
Alsoo remove call specific debugs.
2010-01-11 10:51:00 +02:00
Aki Niemi c03cdaed9a 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.
2010-01-11 10:51:00 +02:00
Aki Niemi 06afe598f5 Split isi.h into isimodem.h and isiutil.h 2010-01-11 10:51:00 +02:00
Luiz Augusto Von Dentz a6fc21fd1f 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.
2010-01-08 04:24:09 -08:00
Denis Kenzior 20db731484 Make primary context ids persistent 2010-01-07 14:43:21 -06:00
Denis Kenzior 230bddf30e Fix: Be paranoid and check that last is in range 2010-01-07 14:42:46 -06:00
Denis Kenzior bdfa90bd14 Add idmap_take utility 2010-01-07 14:42:29 -06:00
Denis Kenzior c4e89c46c8 Fix: Update unit test to the new return semantics 2010-01-07 14:41:18 -06:00
Denis Kenzior bf209425e5 Use idmap to allocate primary context ids 2010-01-07 14:07:52 -06:00
Denis Kenzior 4e621f3ad3 Change the semantics to return id > max on failure 2010-01-07 14:06:45 -06:00
Denis Kenzior 0ed5c70010 Fix: Fail if no driver or id range set 2010-01-07 13:25:32 -06:00
Denis Kenzior cdfe6dd342 Use the new from_range idmap constructor 2010-01-07 13:25:10 -06:00
Denis Kenzior af007cde66 Add idmap_from_range constructor 2010-01-07 13:20:48 -06:00
Denis Kenzior 6051d0bdde Refactor: Use idmap to allocate CIDs 2010-01-07 13:01:12 -06:00
Denis Kenzior 68bee02b25 Update gitignore 2010-01-07 13:00:55 -06:00
Denis Kenzior b72451ef8c Add unit test for idmap utilities 2010-01-07 13:00:41 -06:00
Denis Kenzior 35cbb135f6 Add initial implementation of idmap utilities 2010-01-07 12:59:51 -06:00
Marcel Holtmann 058584e36b Use short serial number for udev detected devices 2010-01-06 14:22:40 -08:00
Denis Kenzior ee59512567 Port udev (temporarily) to the new framework 2010-01-06 15:51:01 -06:00
Denis Kenzior 0181d51684 Port modemconf to the new framework 2010-01-06 15:50:53 -06:00
Denis Kenzior d2b46cde6d Port isimodem to the new framework 2010-01-06 15:50:41 -06:00
Denis Kenzior 1b5c314f9a Refactor: Allow persisent modem names 2010-01-06 15:50:25 -06:00
Denis Kenzior 45f2f9315f Set phase to unknown until we probe it 2010-01-06 14:17:27 -06:00
Denis Kenzior beb3e032e4 Refactor: Preserve Phase obtained from the SIM 2010-01-06 13:19:47 -06:00
Andrzej Zaborowski b4c3e1c1cc Index SIM cache by phase also. 2010-01-06 13:14:20 -06:00
Marcel Holtmann 436c2a7c63 Cleanup of D-Bus mainloop integration 2010-01-02 21:43:22 -08:00
Marcel Holtmann 8e0de054cd Update copyright information of D-Bus helper library 2010-01-01 17:05:57 -08:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Martin Xu 3947638941 Add netmask to HSO GPRS context driver 2009-12-30 00:47:17 -08:00
Luiz Augusto Von Dentz 71ac4f60d9 Fix undefined symbols 2009-12-29 17:37:35 -08:00