Frédéric Danis
a035f8b0e2
voicecall: Fix emulator AT+CHUP for HFP
...
AT+CHUP should be able to hang-up active or incoming calls
2012-02-09 14:21:51 -06:00
Denis Kenzior
3805cd91c7
stkutil: Make valgrind happy
...
==29809== Conditional jump or move depends on uninitialised value(s)
==29809== at 0x4E826C: stk_file_iter_next (stkutil.c:212)
==29809== by 0x4E8CF8: parse_dataobj_file_list (stkutil.c:635)
==29809== by 0x4EBA29: parse_dataobj (stkutil.c:2410)
==29809== by 0x4ECFB5: parse_refresh (stkutil.c:2971)
==29809== by 0x4EECA3: parse_command_body (stkutil.c:3826)
==29809== by 0x4EF0DF: stk_command_new_from_pdu (stkutil.c:3948)
==29809== by 0x4D50DA: ofono_stk_proactive_command_handled_notify
(stk.c:2885)
2012-02-02 09:17:04 -06:00
Denis Kenzior
a51004d4f7
sim: Fix crash due to uninitialized spn_watch
2012-02-01 20:12:51 -06:00
Oleg Zhurakivskyy
bdf5939520
sim: Make SPN change atomic for consumers
...
Due to new spn watch semantics, ofono_sim_get_spn()
will report the absence of SPN while reading it,
which is probably incorrect.
2012-01-23 10:27:54 -06:00
Denis Kenzior
ae5829e984
modem: Use __ofono_atom_find
...
Also remove defunct comment about registered status
2012-01-18 13:01:16 -06:00
Denis Kenzior
d218070689
stk: find_atom only returns registered atoms
...
This seems to be an oversight from an earlier refactoring.
2012-01-18 12:58:20 -06:00
Denis Kenzior
65393a2fb3
sms: Don't need the sim member now
2012-01-18 12:55:02 -06:00
Denis Kenzior
be914cd32a
cbs: finding SIM atom seems to not necessary now
2012-01-18 12:52:01 -06:00
Denis Kenzior
ae14a3056a
stk: Use __ofono_atom_find
2012-01-18 12:50:55 -06:00
Denis Kenzior
878573b831
gprs: Use __ofono_atom_find
2012-01-18 12:36:37 -06:00
Denis Kenzior
cd3edbf984
cdma-connman: Use __ofono_atom_find
2012-01-18 12:21:36 -06:00
Denis Kenzior
15ef5861c5
voicecall: Use __ofono_atom_find
2012-01-18 12:21:36 -06:00
Denis Kenzior
688a788da5
ussd: Use __ofono_atom_find
2012-01-18 12:21:36 -06:00
Denis Kenzior
7e426f96cc
emulator: Use __ofono_atom_find
2012-01-18 12:21:36 -06:00
Denis Kenzior
2ad5db2e99
call-forwarding: Use __ofono_atom_find
2012-01-18 12:21:36 -06:00
Denis Kenzior
45402f797b
sms: Use __ofono_atom_find
2012-01-18 12:21:34 -06:00
Denis Kenzior
dc93f5dbe0
cbs: Use __ofono_atom_find macro
2012-01-18 12:21:33 -06:00
Denis Kenzior
12e481104d
network: Use __ofono_atom_find macro
2012-01-18 12:21:33 -06:00
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