Commit Graph

339 Commits

Author SHA1 Message Date
Aki Niemi 3b456ace49 isimodem: Refactor call-forwarding driver 2011-03-03 17:43:30 +02:00
Aki Niemi 9130f2d02d isimodem: Fix nit in call-barring 2011-03-03 17:43:30 +02:00
Jessica Nilsson d687f5259f isimodem: wgmodem2.5 added to call-forwarding 2011-03-03 17:43:30 +02:00
Aki Niemi b7569bc679 isimodem: Refactor call barring driver 2011-03-03 17:43:30 +02:00
Aki Niemi 849432428a isimodem: Change type for BSC argument 2011-03-03 17:43:30 +02:00
Jessica Nilsson 6fe2ee2697 isimodem: SS_GSM_BARRING_INFO added
SS_GSM_BSC_INFO added.
2011-03-03 17:43:30 +02:00
Aki Niemi 70ae70a74f isimodem: Remove empty line in voicecall driver 2011-03-03 17:43:30 +02:00
Aki Niemi 0e27a9bbae isimodem: Split voicecall into two drivers
These drivers share most of the modem ops, though, so they are still
in the same source file.
2011-03-03 17:43:29 +02:00
Jessica Nilsson cbf6713ed1 isimodem: wgmodem2.5 added to voicecall 2011-03-03 17:43:29 +02:00
Aki Niemi 00c79427d6 isimodem: Refactor USSD driver
Clean up, and fix padding to be used always (does no harm).
2011-03-03 17:43:29 +02:00
Aki Niemi bb473dbef7 isimodem: Refactor and fix GPRS alignment 2011-03-03 17:43:29 +02:00
Aki Niemi 39e155b65d isimodem: Add helper macro for 32bit alignment 2011-03-03 17:43:29 +02:00
Jessica Nilsson b662bcc364 isimodem: wgmodem2.5 support in USSD 2011-03-03 17:43:29 +02:00
Aki Niemi b94488a4d3 isimodem: Add CLIP/COLP/COLR support
Based on patches from:
Jessica Nilsson <jessica.j.nilsson@stericsson.com>
2011-03-03 17:43:29 +02:00
Aki Niemi 0d989ac10d isimodem: Add missing SS codepoints 2011-03-03 17:43:29 +02:00
Antoine Reversat 48388ae7d7 isi: Add CNAP support for isimodem 2011-02-25 14:21:11 -06:00
Antoine Reversat 257951a25f isi: Clean up isi_call_any_address_sb_proc 2011-02-25 14:21:07 -06:00
Jessica Nilsson 2066c32539 isimodem: code points for sms wgmodem2.5 2011-02-25 17:21:08 +02:00
Aki Niemi b6d3ba25a8 isimodem: Remove inter-driver API for now 2011-02-25 17:21:08 +02:00
Jessica Nilsson 16e8f42d0c isimodem: code points uicc sim wgmodem2.5 2011-02-25 17:21:08 +02:00
Jessica Nilsson 70f6c91e8d isimodem: added codepoints for u8500 2011-02-23 15:12:59 +02:00
Aki Niemi 5c84a23515 isimodem: Refactor gprs-context driver
Use stack allocation for padding, and simplify message sending and
failure handling.
2011-02-18 16:17:14 +02:00
Jessica Nilsson 2141228651 isimodem: Context driver updates for wgmodem2.5 2011-02-18 16:17:14 +02:00
Aki Niemi dfc78c0ca0 isimodem: Refactor netreg driver a bit more
Split the driver into two separate drivers, one for each resource ID
used.
2011-02-18 16:17:13 +02:00
Jessica Nilsson beb72c921d isimodem: Add MCE code points
Updates required for wgmodem2.5.
2011-02-16 13:11:04 +02:00
Aki Niemi d8eacb6636 isimodem: Avoid unnecessary debugs 2011-02-08 17:12:12 +02:00
Aki Niemi ede682fc2e isimodem: Use convenience func for strerror 2011-02-08 17:11:38 +02:00
Aki Niemi 203dde39da isimodem: Refactor netreg for wgmodem support
This patch adds support for runtime selection between PN_MODEM_NETWORK
and PN_NETWORK resources, enabling a single isimodem driver to work
with different generations of modem firmware.

Based on patches from: Jessica Nilsson
<jessica.j.nilsson@stericsson.com>
2011-02-08 17:11:07 +02:00
Aki Niemi babb8bbfba isimodem: Add code points for wgmodem 2.5 2011-02-08 16:46:33 +02:00
Pekka Pessi 1715ce85cb isimodem: fix problems in call state reporting
Do not report early incoming calls.

Report "disconnected" state separately.

Call ofono_voicecall_disconnected() only after call id is released.
2011-02-03 14:59:53 +02:00
Pekka Pessi e8d681f86d isimodem: fix crash in sms driver 2011-02-01 22:43:57 +02:00
Lucas De Marchi 51159b7610 drivers: fix misspellings 2011-02-01 18:37:34 +01:00
Lucas De Marchi 0ca07330f4 isimodem: use ofono_call initializer 2011-02-01 18:31:43 +01:00
Aki Niemi 9306837053 isimodem: Fix race condition in SIM probe
Fix a potential race condition between HPLMN query and subscribing to
SIM status indications.
2011-01-27 10:34:52 +02:00
Jeevaka Badrappan 12c3cf6969 voicecall: remove ofono_cug_option 2011-01-26 16:38:15 -06:00
Aki Niemi e943360a5a isimodem: Remove unused declaration 2011-01-25 14:48:23 +02:00
Kai Vehmanen 0a5ef0a9c8 isimodem: fix sending DTMF
isi_call_dtmf_send_resp() handles the success case incorrectly, and
thus all send_tones attempts fail with bogus error codes.
2011-01-21 15:19:52 +02:00
Jeevaka Badrappan 2a7fa4de4e isimodem: fix issue with user busy release
when the user rejects the incoming call, hangup_active
will get called on the driver side whereas when the user
rejects the waiting call, set_udub will get called on the
driver side.
2011-01-21 15:18:40 +02:00
Aki Niemi ad5c6e2e4c isimodem: Remove deregister implementation 2011-01-20 09:55:19 -06:00
Pekka Pessi fef6de49af isimodem: fix crash in gprs
There was a crash if gprs was removed while creating context.
2011-01-18 22:29:24 +02:00
Aki Niemi 321bd16eb1 isimodem: Style fix in gprs, M12 2011-01-18 22:29:24 +02:00
Pekka Pessi 37ae4832de Fix crash in isimodem call forwarding. 2011-01-17 18:15:42 +01:00
Pekka Pessi 6d23cd1957 isimodem: fix return from call control requests 2011-01-12 08:09:09 -08:00
Jeevaka Badrappan 9af25bceac isimodem: M15 coding style fix 2011-01-12 08:06:58 -08:00
Pekka Pessi e0b6a058a2 isimodem: use simplified client interface 2011-01-07 13:39:18 +02:00
Pekka Pessi 340a6d8725 isimodem/sms: verify SMS and SIM resources 2011-01-07 13:32:27 +02:00
Pekka Pessi e130d21be9 isimodem: fix style issues 2011-01-07 13:32:27 +02:00
Pekka Pessi a3f491a82b isimodem: include complete ISI message in trace 2011-01-07 13:32:27 +02:00
Pekka Pessi b72c01173a isimodem: whitespace fixes 2011-01-07 13:32:27 +02:00
Aki Niemi 998a25eec8 isimodem: Fix nettime parsing 2010-12-31 14:54:19 +02:00
Aki Niemi 9b5ea0189a isimodem: Minor style fixes 2010-12-22 17:47:22 +02:00
Aki Niemi ef22691f71 isimodem: Remove unnecessary check 2010-12-22 17:13:49 +02:00
Aki Niemi 8406a4935e isimodem: Fix ICC, IMSI and SPN reading 2010-12-22 17:13:48 +02:00
Aki Niemi 1bdc6f027c isimodem: Fix SCA query response handling 2010-12-22 17:13:48 +02:00
Aki Niemi c1cc241862 isimodem: Fix sms driver incoming NTF handling 2010-12-22 17:13:48 +02:00
Mika Liljeberg ae27b69769 isimodem: fix GPRS context removal 2010-12-22 17:13:48 +02:00
Aki Niemi a044bc7880 isimodem: Fix sms driver routing resp handling 2010-12-22 17:13:48 +02:00
Aki Niemi 46d52b5a90 isimodem: Add debugging for PN_WRAN id 2010-12-22 17:13:48 +02:00
Aki Niemi 1bffb5c909 isimodem: Rename debug to trace 2010-12-22 17:13:48 +02:00
Aki Niemi 98074fdb60 isimodem: Always compare to NULL explicitly 2010-12-22 17:13:48 +02:00
Aki Niemi b477941171 isimodem: Style fixes, indentation 2010-12-22 17:13:48 +02:00
Mika Liljeberg 1199b3fc54 isimodem: prevent gprs autodetach 2010-12-22 17:13:48 +02:00
Mika Liljeberg 1272da9bb2 isimodem: improve GPRS timeouts 2010-12-22 17:13:48 +02:00
Mika Liljeberg b08f5b9e3b isimodem: revector GPRS driver to new gisi API 2010-12-22 17:13:48 +02:00
Mika Liljeberg 29155d9a8a gisi: add definitions for reading product profile 2010-12-22 17:13:48 +02:00
Aki Niemi 11b65c55af isimodem: Fix call forwarding driver 2010-12-22 17:13:47 +02:00
Aki Niemi b156318105 isimodem: Remove unused variables 2010-12-22 17:13:47 +02:00
Mika Liljeberg ddba09c870 isimodem: convert radio settings to new gisi API 2010-12-22 17:13:47 +02:00
Aki Niemi 3fed5c83ee isimodem: Adapt and refactor sms driver 2010-12-22 17:13:47 +02:00
Aki Niemi d365237a65 isimodem: Adapt and refactor ssn driver 2010-12-22 17:13:47 +02:00
Aki Niemi 3942066eae isimodem: Adapt and refactor ussd driver 2010-12-22 17:13:47 +02:00
Aki Niemi b8b1f6c969 isimodem: Adapt and refactor call meter driver 2010-12-22 17:13:47 +02:00
Aki Niemi 5a8cf6552d isimodem: Remove useless debug 2010-12-22 17:13:47 +02:00
Aki Niemi a1d8fb8c72 isimodem: Clean up sim driver some more 2010-12-22 17:13:47 +02:00
Aki Niemi d9fbf0d427 isimodem: Adapt and refactor cbs driver 2010-12-22 17:13:47 +02:00
Aki Niemi 66d1cfa347 isimodem: Add missing CBS codepoint 2010-12-22 17:13:47 +02:00
Aki Niemi 346ee5b051 isimodem: Adapt and refactor voicecall driver 2010-12-22 17:13:47 +02:00
Aki Niemi 4f9c5b7713 isimodem: Adapt and refactor sim driver 2010-12-22 17:13:46 +02:00
Aki Niemi 332afc9cbc isimodem: Adapt and refactor phonebook driver 2010-12-22 17:13:46 +02:00
Aki Niemi 90f31a1cb9 isimodem: Adapt and refactor netreg driver 2010-12-22 17:13:46 +02:00
Aki Niemi f01d0454a7 isimodem: Add convenience macro for version debug 2010-12-22 17:13:46 +02:00
Aki Niemi 48ea0fd5b7 isimodem: Adapt and refactor infoserver 2010-12-22 17:13:46 +02:00
Aki Niemi 5de8900262 isimodem: Adapt and refactor devinfo driver 2010-12-22 17:13:46 +02:00
Aki Niemi 3c2c1f8daf isimodem: Adapt and refactor debugging 2010-12-22 17:13:46 +02:00
Aki Niemi d1a0775a48 isimodem: Adapt and refactor call forwarding 2010-12-22 17:13:46 +02:00
Aki Niemi 698e97c75c isimodem: Adapt and refactor call barring driver 2010-12-22 17:13:46 +02:00
Aki Niemi ab814c8fc4 isimodem: Adapt and refactor audio settings driver 2010-12-22 17:13:46 +02:00
Pekka Pessi a67c5cf4c5 isi/voicecall: fix handling of waiting calls
Also, do not retrieve calls after isi_release_all_active() because
retrieving is now only an unwanted side-effect .
2010-12-03 14:52:40 +02:00
Pekka Pessi be2778cb99 isi/voicecall: avoid side-effects of release
If a call was held automatically when an another call was dialed or
answered, it gets retrieved when the other call is released unless
auto change features is explicitly disabled.

Drop cause_type parameter because it is never used.

Use cause code for busy when releasing incoming or waiting calls.
2010-12-03 14:52:33 +02:00
Pekka Pessi eb3af79700 isi/voicecall: add call id to queued requests 2010-12-03 14:51:40 +02:00
Pekka Pessi fe28e6cd05 isi/voicecall: fix status reporting
Do not report incoming calls to the oFono core until they can be
answered.

Report MT_RELEASED or MO_RELEASED via ofono_voicecall_notify(),
TERMINATED calls via ofono_voicecall_disconnected().
2010-12-03 14:50:05 +02:00
Denis Kenzior 26b68846a8 isi: Get rid of a pointless check in cf driver 2010-11-29 11:47:47 -06:00
Lucas De Marchi b82a7f8511 drivers: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 11:37:09 -06:00
Denis Kenzior ae2d960ec3 isi: Update radio-settings to use new API 2010-11-29 07:52:35 -06:00
Rémi Denis-Courmont 6a6f7bed3c isi: Remove stray newlines in messages sent to log 2010-11-26 13:48:41 -06:00
Pekka Pessi f3c75c9285 isi/voicecall: release COMING calls with BUSY cause
Very early incoming calls were not released with BUSY cause.
2010-11-22 08:19:38 -06:00
Denis Kenzior 5a1bd2c352 isimodem: Get rid of whitespace corruption 2010-11-11 09:08:09 -06:00
Aki Niemi b2faaa1058 isimodem: Fix style issues in gprs-context.c 2010-11-11 10:11:24 +02:00
Mika Liljeberg a4deaffa58 isimodem: revector GPRS context driver 2010-11-11 09:25:08 +02:00
Pekka Pessi b3495d3a9b isigen: increase offline timeout
The modem deregisters from network before response to MTC_STATE_REQ is
returned.  Deregistering can take up to 6 seconds.
2010-11-04 16:19:53 +01:00