Commit Graph

2214 Commits

Author SHA1 Message Date
Denis Kenzior 3757fe01f2 message-waiting: Use __ofono_atom_find macro 2012-01-18 12:21:33 -06:00
Denis Kenzior 74d545d8f4 ofono: Add __ofono_atom_find macro 2012-01-18 12:21:30 -06:00
Oleg Zhurakivskyy e04f0ef027 network: Access SPN directly from the sim atom 2012-01-18 10:44:54 -06:00
Oleg Zhurakivskyy 810bd2aa2e sim: Add ofono_sim_get_spn() implementation 2012-01-18 10:42:59 -06:00
Denis Kenzior 137c602351 network: Optimize away one unneeded assignment 2012-01-18 10:41:43 -06:00
Oleg Zhurakivskyy 0f79546eaf network: Use sim SPN watch API 2012-01-18 10:38:51 -06:00
Denis Kenzior b5d6d835fa gprs: Trivial code reflow 2012-01-18 10:33:56 -06:00
Oleg Zhurakivskyy 9ebdfe29db gprs: Use sim SPN watch API 2012-01-18 10:26:03 -06:00
Oleg Zhurakivskyy ef658e92f3 sim: Add SPN watch capability 2012-01-15 19:55:58 -06:00
Oleg Zhurakivskyy 3272397ad9 sim: Minor style fixes 2012-01-15 19:36:23 -06:00
Denis Kenzior 28af056870 modem: Tweak produced path
For drivers that contain digits at the end the currently produced
path can be somewhat confusing.
2012-01-07 13:23:32 -06:00
Philippe Nunes 21e57a5d36 cdma-netreg: Add provider name and SID support 2012-01-07 12:49:25 -06:00
Philippe Nunes 1c239b3fca cdma-provision: Add driver APIs implementation 2012-01-07 12:39:58 -06:00
Philippe Nunes 4683789b8e ofono.h: add API to get cdma provider name 2012-01-07 12:39:52 -06:00
Jussi Kukkonen d9a76824ba sim: fix "network" is pin type for "networkpuk" 2012-01-01 18:17:36 -06:00
Oleg Zhurakivskyy 60976f1357 gprs: Minor whitespace and style fixes 2011-12-28 16:07:48 -06:00
Denis Kenzior d1d674004f sim: Fix not creating simfs context in some cases 2011-12-26 18:03:40 -06:00
Denis Kenzior 6c2f23cd48 network: Refactor CPHS SPN & Short SPN handling 2011-12-16 18:46:27 -06:00
Denis Kenzior 5e62fe711f network: CPHS Short SPN bits do not apply to SPN 2011-12-16 16:38:20 -06:00
Denis Kenzior 70287f87a6 network: Use __ofono_cphs_service_available 2011-12-16 16:30:57 -06:00
Denis Kenzior 40db3b9528 message-waiting: Use new API for CPHS MBDN 2011-12-16 16:10:21 -06:00
Denis Kenzior 748259a275 sim: Add __ofono_sim_cphs_service_available 2011-12-16 09:45:31 -06:00
Denis Kenzior fe7d012c39 simutil: Add util to find CPHS service availability 2011-12-16 09:44:32 -06:00
Denis Kenzior 7f18695f46 sim: Reset additional state info
We were not resetting 3GPP and CPHS phase information as well as the
CPHS service table entries on sim removal / reset.
2011-12-16 09:44:10 -06:00
Oleg Zhurakivskyy e4e934c368 network: Add CPHS SPN, short-SPN fallbacks 2011-12-16 08:03:58 -06:00
Denis Kenzior 1245664962 network: Guard PNN reading
In a somewhat bizarre case, both PNN and OPL might change, which will
trigger sim_pnn_opl_changed twice.  This can have some funny
side-effects, so don't allow this to happen in the first place.
2011-12-16 08:02:44 -06:00
Denis Kenzior f0d01bdf37 cdma-voicecall: Refactor previous commit 2011-12-15 23:55:12 -06:00
Caiwen Zhang 42c50e2dc3 Add call waiting support in CDMA voice call 2011-12-15 23:44:42 -06:00
Oleg Zhurakivskyy 1dc0597f36 network: Use netreg_emit_operator_display_name()
Redundant in place code removed, netreg_emit_operator_display_name()
is now used consistently everywhere in network.c
2011-12-15 22:57:12 -06:00
Guillaume Zajac aee17dcfe6 cdma-connman: Add dormant_notify implementation 2011-12-08 06:17:45 -06:00
Denis Kenzior 1e052ef1fe network: Split EFspn and EFspdi Refresh handling
If both EFspn and EFspdi are changed, then we trigger reading of EFspn
twice which leads to a memory leak.  Instead, always read EFspdi if the
relevant service is available.

If EFspdi is changed, use a simple heuristic to update the 'Name'
property if appropriate.  This heuristic is not always correct, but in
the worst case we will emit the same name.
2011-12-02 16:00:02 -06:00
Denis Kenzior 6746715715 network: Refactor sim_spdn_spdi_changed 2011-12-02 15:58:35 -06:00
Denis Kenzior 3df763c4cc network: Tweak naming 2011-12-02 14:27:18 -06:00
Denis Kenzior 3ad70ca28c simutil: Minor whitespace fix 2011-12-02 13:01:14 -06:00
Denis Kenzior 2b1bef59cb simutil: Add CPHS SPN & short SPN to EFdb 2011-12-02 13:00:46 -06:00
Oleg Zhurakivskyy c63dc9ac10 simutil: Add CPHS SPN and short-SPN IDs 2011-12-02 12:54:11 -06:00
Oleg Zhurakivskyy 6e60296eed network: Rename spname to spn 2011-12-02 12:53:16 -06:00
Denis Kenzior d1a7c63b95 network: Go back to the original
The code is a little bit more readable and slightly more efficient this
way
2011-12-02 12:52:27 -06:00
Oleg Zhurakivskyy a67bc1a4b0 network: Refactor sim_spn_read_cb()
Refactor sim_spn_read_cb() for CPHS SPN, short-SPN inclusion
2011-12-02 12:44:52 -06:00
Oleg Zhurakivskyy 58fc48c6c4 network: M9 coding style corrections 2011-12-02 12:39:50 -06:00
Guillaume Zajac 7852f25079 simfs: Call callback even if impl isn't provided 2011-11-27 06:03:14 -06:00
Philippe Nunes 97359e7f7b cdma-netreg: Add skeleton sid query implementation 2011-11-24 17:50:17 -06:00
Daniel Wagner 20d33aa924 modem: Add Type property to GetProperties result 2011-11-22 20:38:20 -06:00
Guillaume Zajac 708d12909c cdma-connman: Add public api definition 2011-11-04 15:13:59 -05:00
Denis Kenzior 42eabb6cc8 cdma-connman: Refactor previous commit 2011-11-04 15:13:24 -05:00
Guillaume Zajac 092acfde67 cdma-connman: Check netreg when changing Powered 2011-11-04 14:53:24 -05:00
Denis Kenzior 0e3a73f5a8 dbus: Tweak wording 2011-11-04 14:52:47 -05:00
Guillaume Zajac 2bc86cb96e dbus: Add new D-Bus error message NotRegistered 2011-11-04 14:52:36 -05:00
Guillaume Zajac 7004706c6f cdma-netreg: Implement new public API 2011-10-30 02:13:29 -05:00
Denis Kenzior 2f77d1a3e4 netreg: Fix memory leak in HFP case 2011-10-21 14:02:51 -05:00
Denis Kenzior 6861213024 handsfree: add ofono_handsfree_set_ag_features 2011-10-21 13:56:43 -05:00
Mikel Astiz b6f99b6200 devinfo: avoid crash if query_model not supported 2011-10-21 13:17:50 -05:00
Mikel Astiz c5f7886cf2 handsfree: Implement voice recognition function 2011-10-21 13:13:48 -05:00
Marcel Holtmann ac4c9d7237 core: Some more copyright fixes 2011-10-15 12:21:12 -07:00
Mikel Astiz 03866e30e2 handsfree: Removed ASYNC flag from GetProperties 2011-10-13 13:49:01 -05:00
Mikel Astiz 7b9fa9455c handsfree: Expose RequestPhoneNumber in D-Bus API 2011-10-13 13:20:13 -05:00
Denis Kenzior e32346aa51 handsfree: Don't emit signals if not registered 2011-10-13 13:01:17 -05:00
Mikel Astiz a50e52cdfe handsfree: Copyright statement correction 2011-10-13 12:27:17 -05:00
Denis Kenzior f5d84faf22 voicecall: Make emulator use release_queue 2011-10-12 16:14:06 -05:00
Denis Kenzior 4ced8116a9 voicecall: Fix HangupAll for HFP
HFP does not implement HangupAll natively and most AGs do not support
releasing held calls by id.  Work around this by using hangup active and
then dropping all held calls if no waiting calls exist.  Otherwise
fall back to releasing calls by id.
2011-10-12 16:00:00 -05:00
Marcel Holtmann 7e6afe37bf core: Update copyright information 2011-10-10 13:39:42 -07:00
Marcel Holtmann 98be0dc588 log: Rename program executable variable 2011-10-06 12:20:43 -07:00
Marcel Holtmann 35ea6a5a05 log: Add support for backtrace symbole resolving 2011-10-05 19:41:40 -07:00
Mikel Astiz 6072a98109 handsfree: Implement inband ring settings 2011-09-09 00:30:54 -05:00
Mikel Astiz 8de8e9f0c7 handsfree: Add skeleton implementation 2011-09-09 00:10:06 -05:00
Denis Kenzior 51d0ac1ce4 gprs: Allow NULL context names while provisioning 2011-09-08 23:50:19 -05:00
Denis Kenzior abe97aa939 emulator: Minor style tweaks inside bia_cb 2011-09-08 03:41:07 -05:00
Frédéric Danis 4a8db5985b emulator: add AT+BIA support for HFP 2011-09-08 03:27:37 -05:00
Denis Kenzior cb21b7f442 voicecall: Relax reqs for hangup of held calls
If we have a single held call, then it should be possible to hang it up
with 'Hangup' even if active calls exist.  Only if multiple held calls
or a waiting call exists should we disallow the request due to possible
side-effects.
2011-08-18 19:28:40 -05:00
Denis Kenzior 236f1ffb36 voicecall: Move stuff around 2011-08-18 19:28:20 -05:00
Denis Kenzior ddbacc2dda gprs: Experimental fix for twitchy Huawei firmware 2011-08-18 14:23:04 -05:00
Denis Kenzior ee0c621e54 network: Fix crash with an empty mcc/mnc cops list
Some hardware returns an empty mcc/mnc operator during an operator scan
when no operators are found (e.g. on an LTE dongle in a non-LTE area).
This results in oFono mistaking trying to update a non-existent operator
object.

For reference:
ofonod[27532]: Device: < \r\n+NWSTATEIND: 4\r\n\r\n+COPS:
(0,"","","",255),,(0-4),(0-2)\r\n\r
\nOK\r\n
process 27532: arguments to dbus_message_new_signal() were incorrect,
assertion "_dbus_check_
is_valid_path (path)" failed in file dbus-message.c line 1289.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace
2011-08-18 13:51:40 -05:00
Marcel Holtmann 28b0049930 plugin: Use simpler version mismatch error 2011-08-15 16:22:03 -07:00
Marcel Holtmann 652b2d0c43 plugin: Add debug support for external plugins 2011-08-15 16:16:36 -07:00
Marcel Holtmann 1d8ff99f75 log: Use separate function for enable logging 2011-08-15 16:12:26 -07:00
Caiwen Zhang 041f8dbb06 cdma-voicecall: Implement SendTones method 2011-08-15 00:56:29 -05:00
Caiwen Zhang fbf909fad4 cdma-voicecall: Implement SendFlash method 2011-08-15 00:53:59 -05:00
Caiwen Zhang e2be184afb cdma-voicecall: Implement Answer method 2011-08-15 00:50:36 -05:00
Frédéric Danis 0001866186 emulator: fix indicator notification 2011-08-15 00:25:27 -05:00
Marcel Holtmann 1f1544d0be stkagent: Define DBUS_TIMEOUT_INFINITE if undefined 2011-08-15 11:15:20 -07:00
Denis Kenzior d4687e9529 stkagent: Use infinite timeouts
for DisplayActionInformation and DisplayAction
2011-08-14 22:56:45 -05:00
Denis Kenzior c8131fb10e stk: Fix crashes 2011-08-14 22:56:45 -05:00
Denis Kenzior b1fd862273 cdma-netreg: Initialize hdr strength 2011-08-09 13:34:24 -05:00
Denis Kenzior 5c412c1bc4 cdma-netreg: Implement HDR strength updates 2011-08-09 13:13:06 -05:00
Bertrand Aygon 92d4ff44c5 cdma-netreg: Add Strength property support 2011-08-05 10:48:49 -05:00
Bertrand Aygon 8dfd369ba5 cdma-netreg: implement support for Status property 2011-08-05 10:48:49 -05:00
Bertrand Aygon a8bf6e96b6 cdma-netreg: Add initial stub implementation 2011-08-05 10:48:49 -05:00
Marcel Holtmann efcfbe9d9d modem: Add some more debug outputs 2011-07-29 14:30:58 +02:00
Marcel Holtmann e85b17118a main: Print message when starting to shutdown 2011-07-29 14:12:18 +02:00
Marcel Holtmann a159a0f9fc network: Force auto-only mode if manual registration is not supported
If the network registration driver decides to not provide a manual
registration method, then force the mode to auto-only.
2011-07-27 23:54:37 +02:00
Denis Kenzior 968efe08ba stk: Fix missing break statement 2011-07-25 22:59:06 -05:00
Denis Kenzior fe757a5b83 voicecall: Be more paranoid and null terminate 2011-07-25 22:57:08 -05:00
Denis Kenzior 625045dcb1 voicecall: Use defined constants 2011-07-25 22:55:30 -05:00
Denis Kenzior 55279f16c2 stk: Make sure to set cancel_cmd
For handled commands, in case the terminal response is not reported by
the modem, we must set the cancel_cmd variable so the command is
canceled properly.

This patch also modifies the behavior so that pending_cmd is freed,
since stk_proactive_command_cancel expects cancel_cmd to be set if
pending_cmd is not NULL.
2011-07-25 22:45:55 -05:00
Denis Kenzior bb59d39539 stk: Remove code that does nothing 2011-07-25 22:25:05 -05:00
Denis Kenzior 0c42430f2b stk: Fix possible crash
We can't call stk_command_free on a NULL object
2011-07-25 22:21:46 -05:00
Jeevaka Badrappan f837bdc90a stk: Handle set up call in handled_notify 2011-07-25 21:44:55 -05:00
Jeevaka Badrappan 14b003c7d9 voicecall: api for set/clear alpha and icon id 2011-07-25 21:43:04 -05:00
Bertrand Aygon 806389adb2 cdma-connman: fix the set_property Activate reply 2011-07-24 16:50:16 +02:00
Denis Kenzior 4b3796cc6b network: handle hfp operator change correctly 2011-07-22 04:52:12 -05:00