Commit Graph

28 Commits

Author SHA1 Message Date
Rafael Ignacio Zurita 4eda451c03 common: add function to validate long numbers
Also, adapt voicecall to use the new function for outgoing calls.
2011-01-25 14:12:24 -06:00
Denis Kenzior f8b2ea9ebe gprs: Move packet bearer stuff into gprs.c 2011-01-20 09:49:36 -06:00
Rémi Denis-Courmont ec34d75bc7 common: Define packet switched bearers 2011-01-20 12:07:31 +01:00
Aki Niemi ec61c75456 common: Style fixes, M12 2011-01-18 14:02:31 +02:00
Marit Henriksen 140d092a00 src: Added enum for PDP context status. 2011-01-14 14:32:04 +01:00
Dara Spieker-Doyle a728ff4da1 cdma-voicecall: Add CDMA MO Call Support 2010-12-22 19:01:10 -06:00
Gustavo F. Padovan 8ae1314372 common: add CNAP defines 2010-12-16 18:40:17 -06:00
Pekka Pessi 919e305aa1 common: fixup logic of valid_ussd_string()
The logic of valid_ussd_string was not quite correct as it didn't take
care of size 1 USSD strings.  In addition, call_in_progress parameter is
passed in to take care of size 2 USSD strings which might start with a
'1' according to the rules of 22.030.

The comment about USSD routing is removed, it is out of scope of oFono.
The cellular network routes the USSD requests based on the rules laid
out in the 22.090, however, any string that can be encoded according to
the rules of 23.030 is valid USSD.
2010-10-10 05:48:25 -05:00
Marcel Holtmann 256c6e14c7 Revert the default statement for PIN type checking
Also fix the coding style for the switch statement and remove the
number assignment for an internal enum.
2010-03-20 02:26:57 +01:00
Pekka Pessi 9a398a1087 Fix: Check password length based on its type
The different password types have different length requirements, so
update is_valid_pin to validate according to the password type being
validated (PIN / PUK / NET)
2010-03-19 13:48:04 -05:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Denis Kenzior ee92dc0b62 Add utility to test for valid APN names 2009-10-30 15:52:29 -05:00
Andrzej Zaborowski 5773e30373 Refactor: Move network registration status utils
Move the status to string functions to common.c so that they can be
reused in data connection related network registration code.
2009-10-16 11:12:43 -05:00
Denis Kenzior 72182c2e8f Get rid of unused enum 2009-08-17 15:33:50 -05:00
Denis Kenzior 95573a4d8d Move network-operator status enum out of common.h 2009-08-17 15:32:34 -05:00
Denis Kenzior 00f606b3e8 Move colr-status enum out of common.h 2009-08-17 15:31:46 -05:00
Denis Kenzior 29c122a9a9 Move colp-status enum out of common.h 2009-08-17 15:31:17 -05:00
Denis Kenzior f989e7844d Move clip-status enum out of common.h 2009-08-17 15:30:34 -05:00
Denis Kenzior 1e6bdb36ec Move clir-status enum out of common.h 2009-08-17 15:29:01 -05:00
Denis Kenzior fe2dc0292c Move ussd-status enum out of common.h 2009-08-17 15:27:04 -05:00
Denis Kenzior 75510e7cd5 Move call-forwarding-type enum out of common.h 2009-08-17 15:26:24 -05:00
Yang Gu 8f737d8699 Add E-UTRAN as access technology of network op 2009-06-25 11:45:29 -05:00
Andrzej Zaborowski f93376229a 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.
2009-06-18 16:57:58 -05:00
Denis Kenzior db2a98ae5a Cleanup SimManager interface
Future-Proof own numbers support.  For now we only report voice numbers
Rename attributes to be a bit better
2009-05-26 18:20:03 -05:00
Denis Kenzior ab68cd8e7e Create ofono_phone_number struct
Creates a new structure in driver.h called ofono_phone_number.
This is meant to replace const char *number, int number_type
arguments everywhere.

Fix up all existing code to use this structure instead.
2009-05-26 18:18:12 -05:00
Denis Kenzior 335749d163 Fix Supplementary Service MMI strings per 22.030 2009-05-21 17:02:56 -05:00
Andrzej Zaborowski e63c82e648 Add an API for a CSSI/CSSU notifications. 2009-05-12 19:09:57 -07:00
Denis Kenzior a78b36290b Add implementation of telephony daemon 2009-05-05 21:14:19 -07:00