platform/upstream/ofono.git
15 years agoFix length check for valid UCS2 starting with 0xff
Denis Kenzior [Tue, 7 Jul 2009 18:49:32 +0000 (13:49 -0500)]
Fix length check for valid UCS2 starting with 0xff

15 years agoFix status of operator unknown case
Denis Kenzior [Tue, 7 Jul 2009 16:18:39 +0000 (11:18 -0500)]
Fix status of operator unknown case

When the current operator is reported, it's status is listed as
unknown if no other operators are in the operator list

15 years agoFix error value to no error in success
Aki Niemi [Tue, 7 Jul 2009 11:29:42 +0000 (14:29 +0300)]
Fix error value to no error in success

15 years agoInitialize to NULL
Aki Niemi [Tue, 7 Jul 2009 11:18:11 +0000 (14:18 +0300)]
Initialize to NULL

15 years agogisi: malloc -> free
Rémi Denis-Courmont [Tue, 7 Jul 2009 07:26:03 +0000 (10:26 +0300)]
gisi: malloc -> free

15 years agoAdd modem attribute retrieval
Aki Niemi [Tue, 7 Jul 2009 10:19:59 +0000 (13:19 +0300)]
Add modem attribute retrieval

Refactor isimodem.c to add support for querying modem attributes over
the ISI protocol.

15 years agoFix another small memory leak in unit tests
Denis Kenzior [Tue, 7 Jul 2009 00:38:44 +0000 (19:38 -0500)]
Fix another small memory leak in unit tests

15 years agoConvert SIM strings properly
Denis Kenzior [Mon, 6 Jul 2009 20:10:21 +0000 (15:10 -0500)]
Convert SIM strings properly

15 years agoAdd unit test for SIM string conversion utility
Denis Kenzior [Mon, 6 Jul 2009 23:07:55 +0000 (18:07 -0500)]
Add unit test for SIM string conversion utility

15 years agoAdd utility to convert SIM FS strings to UTF8
Denis Kenzior [Mon, 6 Jul 2009 20:09:47 +0000 (15:09 -0500)]
Add utility to convert SIM FS strings to UTF8

15 years agoUpdate unit test for empty strings
Denis Kenzior [Mon, 6 Jul 2009 20:24:26 +0000 (15:24 -0500)]
Update unit test for empty strings

15 years agoGSM to UTF8 should accept empty strings
Denis Kenzior [Mon, 6 Jul 2009 20:09:32 +0000 (15:09 -0500)]
GSM to UTF8 should accept empty strings

15 years agogisi: call to non existent function
Rémi Denis-Courmont [Mon, 6 Jul 2009 07:19:09 +0000 (10:19 +0300)]
gisi: call to non existent function

15 years agoUse phonet.h
Rémi Denis-Courmont [Fri, 3 Jul 2009 15:32:31 +0000 (18:32 +0300)]
Use phonet.h

15 years agoReplacement header for Phonet definitions
Rémi Denis-Courmont [Fri, 3 Jul 2009 15:19:15 +0000 (18:19 +0300)]
Replacement header for Phonet definitions

15 years agoDo not include <config.h> from headers
Rémi Denis-Courmont [Thu, 2 Jul 2009 10:43:34 +0000 (13:43 +0300)]
Do not include <config.h> from headers

It should be included _first_ in all modules, and it is not proof
against multiple inclusions.

15 years agoAdd Unit test for CBS assembly utilities
Denis Kenzior [Fri, 3 Jul 2009 00:00:40 +0000 (19:00 -0500)]
Add Unit test for CBS assembly utilities

15 years agoAdd Cell Broadcast assembly utilities
Denis Kenzior [Fri, 3 Jul 2009 00:00:27 +0000 (19:00 -0500)]
Add Cell Broadcast assembly utilities

15 years agoFix memory leaks in unit tests
Denis Kenzior [Thu, 2 Jul 2009 23:19:56 +0000 (18:19 -0500)]
Fix memory leaks in unit tests

15 years agoFix memory leak
Denis Kenzior [Thu, 2 Jul 2009 23:19:15 +0000 (18:19 -0500)]
Fix memory leak

15 years agoDon't hardcode
Denis Kenzior [Thu, 2 Jul 2009 17:55:01 +0000 (12:55 -0500)]
Don't hardcode

15 years agoUpdate unit test
Denis Kenzior [Thu, 2 Jul 2009 17:46:35 +0000 (12:46 -0500)]
Update unit test

15 years agoAdd CBS Text converter utility
Denis Kenzior [Thu, 2 Jul 2009 17:46:26 +0000 (12:46 -0500)]
Add CBS Text converter utility

15 years agoAdd cbs lang to ISO 639 conversion utility
Denis Kenzior [Thu, 2 Jul 2009 17:46:01 +0000 (12:46 -0500)]
Add cbs lang to ISO 639 conversion utility

15 years agoAdd app-port extraction utility for CBS
Denis Kenzior [Tue, 30 Jun 2009 23:59:20 +0000 (18:59 -0500)]
Add app-port extraction utility for CBS

15 years agoMake sms_udh_iter work for Cell Broadcast messages
Denis Kenzior [Tue, 30 Jun 2009 23:23:23 +0000 (18:23 -0500)]
Make sms_udh_iter work for Cell Broadcast messages

15 years agoAdd unit test for CBS encode / decode
Denis Kenzior [Tue, 30 Jun 2009 22:36:09 +0000 (17:36 -0500)]
Add unit test for CBS encode / decode

15 years agoAdd Cell Broadcast encoding / decoding utilities
Denis Kenzior [Tue, 30 Jun 2009 22:35:56 +0000 (17:35 -0500)]
Add Cell Broadcast encoding / decoding utilities

15 years agoAdd DCS decoder for Cell Broadcast
Denis Kenzior [Fri, 26 Jun 2009 00:15:50 +0000 (19:15 -0500)]
Add DCS decoder for Cell Broadcast

15 years agoAdd support for tty on character device.
Santtu Lakkala [Mon, 15 Jun 2009 17:13:25 +0000 (20:13 +0300)]
Add support for tty on character device.

Adds support for using ttys through a serial device directly.

15 years agoFix uninitialized use of bufpos
Denis Kenzior [Wed, 1 Jul 2009 15:48:03 +0000 (10:48 -0500)]
Fix uninitialized use of bufpos

15 years agoChange sequence in phonebook merge_list
Yang Gu [Mon, 29 Jun 2009 01:37:52 +0000 (09:37 +0800)]
Change sequence in phonebook merge_list

15 years agoAdd support for AM_SLIENT_RULES
Marcel Holtmann [Wed, 1 Jul 2009 01:36:56 +0000 (18:36 -0700)]
Add support for AM_SLIENT_RULES

15 years agoAdd support for opening TTYs directly
Marcel Holtmann [Tue, 30 Jun 2009 19:48:42 +0000 (12:48 -0700)]
Add support for opening TTYs directly

15 years agogisi: fix extracting Phonet address from Netlink
Rémi Denis-Courmont [Thu, 25 Jun 2009 12:04:33 +0000 (15:04 +0300)]
gisi: fix extracting Phonet address from Netlink

15 years agoFix GISI_CFLAGS
Rémi Denis-Courmont [Thu, 25 Jun 2009 11:56:56 +0000 (14:56 +0300)]
Fix GISI_CFLAGS

This fixes the failure to include <gisi/netlink.h>.

15 years agoofonod: missing dependencies on convenience libraries
Rémi Denis-Courmont [Thu, 25 Jun 2009 11:52:46 +0000 (14:52 +0300)]
ofonod: missing dependencies on convenience libraries

Without this, plain "make" does not work properly when gatchat or
gisi, or one of the built-in drivers or plugins are modified.

15 years agoFix bootstrap-configure when building from subdir
Rémi Denis-Courmont [Thu, 25 Jun 2009 11:49:32 +0000 (14:49 +0300)]
Fix bootstrap-configure when building from subdir

15 years agoPreserve clip_validity
Denis Kenzior [Thu, 25 Jun 2009 16:43:45 +0000 (11:43 -0500)]
Preserve clip_validity

CLCC does not report clip_validity.  So if clip_validity of witheld
has been reported in CLIP, but we're still somehow polling CLCC,
which happens if CRING is not supported, and RING is used instead,
this fact can be lost.  Make sure we preserve clip_validity if
possible

15 years agoNumber and Number Type are optional in CLCC
Denis Kenzior [Thu, 25 Jun 2009 16:42:38 +0000 (11:42 -0500)]
Number and Number Type are optional in CLCC

According to 27.007, the number and number type are optional.  We must
take care not to do anything unexpected in this case.

15 years agoAdd E-UTRAN as access technology of network op
Yang Gu [Wed, 24 Jun 2009 08:35:25 +0000 (16:35 +0800)]
Add E-UTRAN as access technology of network op

15 years agoDelete old placeholder
Aki Niemi [Thu, 25 Jun 2009 07:04:02 +0000 (10:04 +0300)]
Delete old placeholder

15 years agoAdd new ISI modem driver to build
Aki Niemi [Thu, 25 Jun 2009 07:03:47 +0000 (10:03 +0300)]
Add new ISI modem driver to build

15 years agoAdd baseline for ISI modem driver
Aki Niemi [Thu, 25 Jun 2009 07:03:27 +0000 (10:03 +0300)]
Add baseline for ISI modem driver

15 years agogisi: Fix documentation and add API for resource ID
Aki Niemi [Thu, 25 Jun 2009 06:40:06 +0000 (09:40 +0300)]
gisi: Fix documentation and add API for resource ID

15 years agoPrint new line as intended
Denis Kenzior [Thu, 25 Jun 2009 00:59:58 +0000 (19:59 -0500)]
Print new line as intended

15 years agoAnother type safety fix
Denis Kenzior [Thu, 25 Jun 2009 00:58:00 +0000 (19:58 -0500)]
Another type safety fix

15 years agofix test compile
Shane Bryan [Wed, 24 Jun 2009 22:16:02 +0000 (15:16 -0700)]
fix test compile

Signed-off-by: Shane Bryan <shane.bryan@linux.intel.com>
15 years agogisi: fix g_pn_netlink_start() return value
Aki Niemi [Wed, 24 Jun 2009 10:20:54 +0000 (13:20 +0300)]
gisi: fix g_pn_netlink_start() return value

15 years agoFix when the same operator reported multiple times
Denis Kenzior [Tue, 23 Jun 2009 15:24:45 +0000 (10:24 -0500)]
Fix when the same operator reported multiple times

15 years agoMake signature match properly
Denis Kenzior [Mon, 22 Jun 2009 19:46:31 +0000 (14:46 -0500)]
Make signature match properly

15 years agoAdd GISI_* build variables; remove unnecessary curly brackets
Aki Niemi [Mon, 22 Jun 2009 18:40:49 +0000 (21:40 +0300)]
Add GISI_* build variables; remove unnecessary curly brackets

15 years agoMinor style issues
Denis Kenzior [Mon, 22 Jun 2009 18:20:01 +0000 (13:20 -0500)]
Minor style issues

15 years agoRead EF-SPDI and use it for SPN display.
Andrzej Zaborowski [Sun, 21 Jun 2009 01:40:48 +0000 (03:40 +0200)]
Read EF-SPDI and use it for SPN display.

When the operator is one of those listed in EF-SPDI then we need to
treat it like a HPLMN in deciding whether the SPN or PLMN name should
be displayed.

15 years agoAdd write/read operations for cyclic files in SIM.
Andrzej Zaborowski [Sun, 21 Jun 2009 01:30:14 +0000 (03:30 +0200)]
Add write/read operations for cyclic files in SIM.

15 years agoMake compiler happy
Denis Kenzior [Mon, 22 Jun 2009 17:45:18 +0000 (12:45 -0500)]
Make compiler happy

15 years agoCleanup phonebook again
Denis Kenzior [Mon, 22 Jun 2009 17:36:25 +0000 (12:36 -0500)]
Cleanup phonebook again

15 years agoFix minor API issue
Denis Kenzior [Mon, 22 Jun 2009 17:36:13 +0000 (12:36 -0500)]
Fix minor API issue

15 years agoMerge phonebook entries belong to one person
Yang Gu [Mon, 22 Jun 2009 02:59:25 +0000 (10:59 +0800)]
Merge phonebook entries belong to one person

15 years agogisi: fixes to request/response handling and timeout registration
Aki Niemi [Mon, 22 Jun 2009 15:15:47 +0000 (18:15 +0300)]
gisi: fixes to request/response handling and timeout registration

15 years agogisi: specify destination socket address
Rémi Denis-Courmont [Mon, 22 Jun 2009 14:33:48 +0000 (17:33 +0300)]
gisi: specify destination socket address

Kernel wants it, and returns an error on send otherwise.

15 years agoSMS sending in AT backend
Denis Kenzior [Sat, 20 Jun 2009 02:11:42 +0000 (21:11 -0500)]
SMS sending in AT backend

15 years agoAdd SMS Sending Support
Denis Kenzior [Sat, 20 Jun 2009 02:11:32 +0000 (21:11 -0500)]
Add SMS Sending Support

15 years agoFixes to parser state when command prompt is used
Denis Kenzior [Sat, 20 Jun 2009 02:10:51 +0000 (21:10 -0500)]
Fixes to parser state when command prompt is used

15 years agoAdd yet another unit test
Denis Kenzior [Fri, 19 Jun 2009 19:38:13 +0000 (14:38 -0500)]
Add yet another unit test

15 years agoSome fixes to sms_text_prepare
Denis Kenzior [Fri, 19 Jun 2009 17:49:25 +0000 (12:49 -0500)]
Some fixes to sms_text_prepare

15 years agoAdd address from string utility for SMS
Denis Kenzior [Fri, 19 Jun 2009 17:26:04 +0000 (12:26 -0500)]
Add address from string utility for SMS

15 years agoFix minor bug in phone number handling
Denis Kenzior [Fri, 19 Jun 2009 17:24:55 +0000 (12:24 -0500)]
Fix minor bug in phone number handling

15 years agoUpdate unit tests
Denis Kenzior [Fri, 19 Jun 2009 15:16:11 +0000 (10:16 -0500)]
Update unit tests

15 years agoUtility to create SMS, both fragmented and not
Denis Kenzior [Fri, 19 Jun 2009 15:14:33 +0000 (10:14 -0500)]
Utility to create SMS, both fragmented and not

15 years agoAdd utility function
Denis Kenzior [Fri, 19 Jun 2009 13:38:24 +0000 (08:38 -0500)]
Add utility function

15 years agoMinor style issue
Denis Kenzior [Fri, 19 Jun 2009 13:38:06 +0000 (08:38 -0500)]
Minor style issue

15 years agoDon't fail in own_buf if items_written is NULL
Denis Kenzior [Fri, 19 Jun 2009 13:03:53 +0000 (08:03 -0500)]
Don't fail in own_buf if items_written is NULL

15 years agoFix another logic bug in SS parser
Denis Kenzior [Thu, 18 Jun 2009 21:55:07 +0000 (16:55 -0500)]
Fix another logic bug in SS parser

If the passwords do not match, it is still a recognized string,
but we must return invalid format

15 years agoMinor style issue
Denis Kenzior [Thu, 18 Jun 2009 21:49:47 +0000 (16:49 -0500)]
Minor style issue

15 years agoFix logic flow in SS parser
Denis Kenzior [Thu, 18 Jun 2009 21:39:55 +0000 (16:39 -0500)]
Fix logic flow in SS parser

15 years agoImplement CallBarring::ChangePassword in AT driver
Andrzej Zaborowski [Thu, 18 Jun 2009 04:04:46 +0000 (06:04 +0200)]
Implement CallBarring::ChangePassword in AT driver

15 years agoAdd CallBarring::ChangePassword
Andrzej Zaborowski [Thu, 18 Jun 2009 04:04:34 +0000 (06:04 +0200)]
Add CallBarring::ChangePassword

15 years agoTeach USSD to recognise password change strings.
Andrzej Zaborowski [Thu, 18 Jun 2009 04:04:23 +0000 (06:04 +0200)]
Teach USSD to recognise password change strings.

This is slightly hacky, part of ussd.c responsible for registering services
is duplicated and parse_ss_control_string is modified to accept a fourth
SI fragment in the input string.

15 years agoMove struct ussd_data definition out of the header.
Andrzej Zaborowski [Thu, 18 Jun 2009 04:04:13 +0000 (06:04 +0200)]
Move struct ussd_data definition out of the header.

No fuctional change.

15 years agoMention Yang's contribution
Denis Kenzior [Thu, 18 Jun 2009 20:29:05 +0000 (15:29 -0500)]
Mention Yang's contribution

15 years agoMention Aki's contribution
Denis Kenzior [Thu, 18 Jun 2009 20:28:32 +0000 (15:28 -0500)]
Mention Aki's contribution

15 years agoMention Rémi's contribution
Denis Kenzior [Thu, 18 Jun 2009 20:27:59 +0000 (15:27 -0500)]
Mention Rémi's contribution

15 years agoDon't bother reporting subscriber numbers by type
Denis Kenzior [Thu, 18 Jun 2009 08:59:13 +0000 (03:59 -0500)]
Don't bother reporting subscriber numbers by type

15 years agoCleanup EFmsisdn reading patch
Denis Kenzior [Thu, 18 Jun 2009 08:46:08 +0000 (03:46 -0500)]
Cleanup EFmsisdn reading patch

15 years agoAdd a new extract_bcd_number utility
Denis Kenzior [Thu, 18 Jun 2009 08:45:55 +0000 (03:45 -0500)]
Add a new extract_bcd_number utility

15 years agoRead own numbers from EFmsisdn instead of AT+CNUM.
Andrzej Zaborowski [Thu, 18 Jun 2009 03:44:56 +0000 (05:44 +0200)]
Read own numbers from EFmsisdn instead of AT+CNUM.

15 years agoMinor style fixes
Denis Kenzior [Thu, 18 Jun 2009 07:23:37 +0000 (02:23 -0500)]
Minor style fixes

15 years agoAdd record based file capability to sim_ops
Andrzej Zaborowski [Thu, 18 Jun 2009 03:44:44 +0000 (05:44 +0200)]
Add record based file capability to sim_ops

Add capability to read / write / stat files on the SIM.  This now
supports cyclic, linear fixed and transparent SIM files.

Parse GET RESPONSE result to find structure of the file (cyclic, linear
fixed, or transparent), the file size and the record length.

Add both read and update capability for binary and record-based files.

Implement writing sim files through AT.

15 years agoUse GET RESPONSE sim command to retrieve EF length
Andrzej Zaborowski [Thu, 18 Jun 2009 03:44:28 +0000 (05:44 +0200)]
Use GET RESPONSE sim command to retrieve EF length

Also accept 0x9f as a success status word 1 for READ BINARY (GSM specific).

15 years agoFix NetworkRegistration test by fixing indentation.
Andrzej Zaborowski [Thu, 18 Jun 2009 03:44:06 +0000 (05:44 +0200)]
Fix NetworkRegistration test by fixing indentation.

[Sorry if you get this mail or some of the other mails a second time,
I sent a copy from an unsubscribed address yesterday].

15 years agoPhonebook API tweak
Denis Kenzior [Wed, 17 Jun 2009 23:19:20 +0000 (18:19 -0500)]
Phonebook API tweak

15 years agoAdd call-history driver type
Denis Kenzior [Wed, 17 Jun 2009 12:03:21 +0000 (07:03 -0500)]
Add call-history driver type

15 years agoReturn slist elements back to the allocator
Denis Kenzior [Wed, 17 Jun 2009 11:29:31 +0000 (06:29 -0500)]
Return slist elements back to the allocator

15 years agoRefactor phonebook code
Denis Kenzior [Tue, 16 Jun 2009 21:33:05 +0000 (16:33 -0500)]
Refactor phonebook code

Use immediate mode reporting, which means that the individual CPBR
lines are reported up to the core immediately.  This has a couple
advantages:
  - We do not need to malloc/free a bunch of single variables
    and copy them over.  Helps performance.
  - The lines are not buffered up and given to the plugin in one
    shot, instead processing is performed piecemeal.  This helps
    with keeping memory consumption down to a minimum

15 years agoUse library functions appropriately
Denis Kenzior [Tue, 16 Jun 2009 21:31:32 +0000 (16:31 -0500)]
Use library functions appropriately

Instead of using custom parsing, use the existing library
functionality in result iter open_list, next_range and close_list

15 years agoNo need for mainloop in this test
Denis Kenzior [Tue, 16 Jun 2009 21:26:17 +0000 (16:26 -0500)]
No need for mainloop in this test

15 years agoHeader guards not to be present in private headers
Denis Kenzior [Tue, 16 Jun 2009 15:51:04 +0000 (10:51 -0500)]
Header guards not to be present in private headers

15 years agoFix SMS port addressing
Denis Kenzior [Tue, 16 Jun 2009 15:48:47 +0000 (10:48 -0500)]
Fix SMS port addressing

15 years agoSMS 8-Bit and 16-Bit ports are not the same
Denis Kenzior [Tue, 16 Jun 2009 15:48:27 +0000 (10:48 -0500)]
SMS 8-Bit and 16-Bit ports are not the same