Denis Kenzior [Mon, 26 Mar 2012 21:49:38 +0000 (16:49 -0500)]
ztemodem: Fix compile error
drivers/ztemodem/radio-settings.c:129: error: ‘value’ may be used
uninitialized in this function
Bertrand Aygon [Fri, 23 Mar 2012 11:01:09 +0000 (12:01 +0100)]
ztemodem: Add radio settings support
Bertrand Aygon [Fri, 23 Mar 2012 11:01:08 +0000 (12:01 +0100)]
Add ZTE modem driver
Jarkko Lehtoranta [Sat, 24 Mar 2012 14:03:44 +0000 (16:03 +0200)]
huaweimodem: Fix AT^DDSETEX=2 timing for voice calls
Voice output serial port is enabled on some Huawei models (e.g. E169)
without problems, but for example on E173u-2 it is never enabled
during an incoming call. There might also be other Huawei models
having the same issue.
I traced the issue down to "^DDSETEX" AT command, which is used
to notify the device to start streaming audio. It seems that Ofono
sends this command too early on incoming calls. The command should
always be sent *after* the dial "D" or answer "A" command. The patch
fixes this behavior and afterwards voice will also work on E173u-2.
Denis Kenzior [Fri, 23 Mar 2012 13:28:37 +0000 (08:28 -0500)]
sim: Don't use sprintf unnecessarily
Using sprintf for a single quote is quite wasteful
Denis Kenzior [Fri, 23 Mar 2012 13:12:03 +0000 (08:12 -0500)]
sim: Fix up various coding style violations
Nicolas Bertrand [Thu, 22 Mar 2012 17:28:10 +0000 (18:28 +0100)]
sim: Use quoted string with AT+CRSM data parameter
Fix issue with some modems preventing to update elementary files
(speedup, ZTE, huawei, MBM)
Marcel Holtmann [Thu, 22 Mar 2012 05:09:03 +0000 (22:09 -0700)]
swmodem: Add support for IPv6 and IPv4v6 contexts
Marcel Holtmann [Thu, 22 Mar 2012 04:17:33 +0000 (21:17 -0700)]
udev: Only detect Sierra Wireless devices with DirectIP
Marcel Holtmann [Thu, 22 Mar 2012 04:13:52 +0000 (21:13 -0700)]
sierra: Add support for DirectIP connections
Marcel Holtmann [Thu, 22 Mar 2012 04:13:13 +0000 (21:13 -0700)]
swmodem: Add Sierra Wireless DirectIP support
Marcel Holtmann [Thu, 22 Mar 2012 04:10:30 +0000 (21:10 -0700)]
swmodem: Add Sierra Wireless modem driver
Denis Kenzior [Wed, 21 Mar 2012 11:08:03 +0000 (06:08 -0500)]
build: Require glib 2.28
Frédéric Danis [Wed, 14 Mar 2012 16:00:53 +0000 (17:00 +0100)]
voicecall: Force callheld update after calls swap
In HFP spec, a callheld indicator update should be sent after swapping
calls, even if it stays to 1 (AG has both active and held calls).
Frédéric Danis [Wed, 14 Mar 2012 16:00:52 +0000 (17:00 +0100)]
emulator: Force indicator event implementation
Marcel Holtmann [Mon, 19 Mar 2012 23:12:36 +0000 (16:12 -0700)]
isimodem: Remove includes of <glib/gtypes.h>
Marcel Holtmann [Mon, 19 Mar 2012 23:12:12 +0000 (16:12 -0700)]
gisi: Remove includes of <glib/gtypes.h>
Oleg Zhurakivskyy [Tue, 13 Mar 2012 13:46:23 +0000 (15:46 +0200)]
call-forwarding: Inline get_query_next_cf_cond()
Oleg Zhurakivskyy [Tue, 13 Mar 2012 13:46:22 +0000 (15:46 +0200)]
call-forwarding: Remove cf_list_clear()
Use g_slist_free_full() instead.
Frédéric Danis [Fri, 9 Mar 2012 15:26:52 +0000 (16:26 +0100)]
voicecall: Improve transitions check
Indicators should not be updated if:
- multiple separate calls are active at same time
- a conf call and a call are active at same time
- multiple separate calls are held at same time
- a conf call and a call are held at same time
- a conf call has call in active and held state
Renat Zaripov [Sun, 11 Mar 2012 06:08:38 +0000 (10:08 +0400)]
sim900: Add ussd and voice call support
Denis Kenzior [Tue, 6 Mar 2012 15:24:54 +0000 (09:24 -0600)]
voicecall: Don't set indicators during transitions
Frédéric Danis [Thu, 8 Mar 2012 15:02:30 +0000 (16:02 +0100)]
emulator: fix notify_ring
notify_ring should not use information from waiting call
Denis Kenzior [Tue, 6 Mar 2012 16:12:31 +0000 (10:12 -0600)]
voicecall: Fix strange GTA04 modem CLCC behavior
Marcel Holtmann [Fri, 2 Mar 2012 01:37:06 +0000 (17:37 -0800)]
Release 1.5
Renat Zaripov [Mon, 27 Feb 2012 07:19:43 +0000 (11:19 +0400)]
sim900: Use SIMCOM quirk for SMS atom
Renat Zaripov [Mon, 27 Feb 2012 07:19:44 +0000 (11:19 +0400)]
sms: Disable sending AT+CNMA with SIMCOM quirk
SIMCOM SIM900 modem module not support AT+CNMA command
Denis Kenzior [Fri, 24 Feb 2012 05:14:08 +0000 (23:14 -0600)]
atutil: Ignore invalid CLCC results
Some phones report CLCC calls with out-of-range info. E.g. call index
being 0 (it is 1 based according to 27.007) and call states being
reported as '6' (valid call states are 0-5.)
Neil Jerram [Mon, 27 Feb 2012 20:04:43 +0000 (20:04 +0000)]
hso: Don't access freed data, in hso_set_online
Denis Kenzior [Wed, 22 Feb 2012 13:17:27 +0000 (07:17 -0600)]
call-forwarding: Fix various style issues
Oleg Zhurakivskyy [Mon, 6 Feb 2012 12:33:59 +0000 (14:33 +0200)]
call-forwarding: Minor code refactoring
Oleg Zhurakivskyy [Mon, 6 Feb 2012 12:33:58 +0000 (14:33 +0200)]
call-forwarding: Emit signals when cfu is toggled
Emit signals to mask/unmask conditional cfs on cfu
activation/deactivation.
Oleg Zhurakivskyy [Mon, 6 Feb 2012 12:33:57 +0000 (14:33 +0200)]
call-forwarding: Update conditional reporting logic
Don't report conditional cfs when cfu is active
Oleg Zhurakivskyy [Mon, 6 Feb 2012 12:33:56 +0000 (14:33 +0200)]
call-forwarding: Update conditional setting logic
Due to how the quiescent behavior of conditional call forwarding rules
when CFU is active, do not allow the user to try and set conditional
rules. This will fail at the network level anyway.
Oleg Zhurakivskyy [Mon, 6 Feb 2012 12:33:55 +0000 (14:33 +0200)]
call-forwarding: Refactoring of is_cfu_enabled()
This also removes the need for uninitialized_var() macro.
Oleg Zhurakivskyy [Mon, 6 Feb 2012 12:33:54 +0000 (14:33 +0200)]
call-forwarding: Minor style fixes
Denis Kenzior [Wed, 22 Feb 2012 10:16:56 +0000 (04:16 -0600)]
sim900: Fix minor coding style violation
Renat Zaripov [Wed, 22 Feb 2012 12:18:37 +0000 (16:18 +0400)]
sim900: Add support for PIN retry counters
Renat Zaripov [Wed, 22 Feb 2012 12:18:37 +0000 (16:18 +0400)]
sim: Add SIMCOM specific PIN retry handling
Use AT+SPIC for obtaining retries remaining for SIM PIN / PUK
AT+SPIC Retries Remaining to Input SIM PIN/PUK
+SPIC: <pin1>,<pin2>,<puk1>,<puk2>
Parameters
<pin1> Times remained to input chv1
<pin2> Times remained to input chv2
<puk1> Times remained to input puk1
<puk2> Times remained to input puk2
Marcel Holtmann [Sat, 18 Feb 2012 12:26:26 +0000 (13:26 +0100)]
udev: Remove empty line
Marcel Holtmann [Sat, 18 Feb 2012 12:18:53 +0000 (13:18 +0100)]
udev: Add support for detecting Sierra network interfaces
Marcel Holtmann [Sat, 18 Feb 2012 12:02:42 +0000 (13:02 +0100)]
hso: Open modem port to log extra notifications
Marcel Holtmann [Sat, 18 Feb 2012 12:01:42 +0000 (13:01 +0100)]
udev: Also detect modem port of Option HSO devices
Marcel Holtmann [Thu, 16 Feb 2012 18:18:17 +0000 (19:18 +0100)]
sierra: Rename some variables
Marcel Holtmann [Thu, 16 Feb 2012 18:17:40 +0000 (19:17 +0100)]
udev: Detect more ports for Sierra modems
Marcel Holtmann [Thu, 16 Feb 2012 17:36:23 +0000 (18:36 +0100)]
udev: Add sanity check for ports on old Option devices
Marcel Holtmann [Thu, 16 Feb 2012 17:07:07 +0000 (18:07 +0100)]
udev: Detect old Option cards without high-speed interface
Marcel Holtmann [Thu, 16 Feb 2012 12:06:52 +0000 (13:06 +0100)]
ifx: Add support for Assisted Satellite Navigation
Marcel Holtmann [Thu, 16 Feb 2012 08:54:05 +0000 (09:54 +0100)]
location-reporting: Remove a few more empty lines
Marcel Holtmann [Thu, 16 Feb 2012 08:43:28 +0000 (09:43 +0100)]
location-reporting: Fix some minor style issues
Marcel Holtmann [Thu, 16 Feb 2012 07:20:29 +0000 (08:20 +0100)]
atmodem: Use CSQ based notification for IFX signal strength
Since the XCIEV notifications are unclear, use XCSQ notifcations to
report signal strength updates.
Marcel Holtmann [Thu, 16 Feb 2012 07:12:28 +0000 (08:12 +0100)]
atmodem: Ignore results from IFX radio signal strength indication
It seems the that XCIEV notification actually returns results from XCSQ
and not the described range 0-7. This makes this notification rather
useless to report signal strength.
Marcel Holtmann [Thu, 16 Feb 2012 07:11:35 +0000 (08:11 +0100)]
network: Add debug for signal strength updates
Marcel Holtmann [Tue, 14 Feb 2012 14:23:59 +0000 (15:23 +0100)]
atmodem: Fix handling of IFX signal strength indication
Marcel Holtmann [Tue, 14 Feb 2012 13:53:51 +0000 (14:53 +0100)]
atmodem: Add debug for IFX signal strength reporting
Marcel Holtmann [Sat, 11 Feb 2012 06:00:49 +0000 (07:00 +0100)]
network: Add debug for network registration status updates
Marcel Holtmann [Fri, 10 Feb 2012 11:19:42 +0000 (12:19 +0100)]
ifx: Setup CSCS to use GSM for the aux port
This change is needed since otherwise umlauts and other characters
for USSD responses will not work properly.
Marcel Holtmann [Fri, 10 Feb 2012 11:02:42 +0000 (12:02 +0100)]
ifxmodem: Add support for dynamic DNS for IPv6 and dual mode contexts
Marcel Holtmann [Fri, 10 Feb 2012 10:45:34 +0000 (11:45 +0100)]
ifxmodem: Add support for IPv6 and dual mode contexts
Marcel Holtmann [Fri, 10 Feb 2012 09:48:25 +0000 (10:48 +0100)]
Release 1.4
Luiz Augusto von Dentz [Thu, 2 Feb 2012 21:57:05 +0000 (13:57 -0800)]
btio: Add BtIOMode enum to be used with BT_IO_OPT_MODE
Luiz Augusto von Dentz [Wed, 1 Feb 2012 01:25:34 +0000 (17:25 -0800)]
btio: Add L2ERTM type
L2ERTM type uses L2CAP socket in SOCK_STREAM instead of SOCK_SEQPACKET
Marcel Holtmann [Fri, 10 Feb 2012 09:04:34 +0000 (10:04 +0100)]
ifxmodem: Remove audio settings mode handling
With the current updated setup, the audio settings mode is no longer
provided. So don't bother even trying to configure it.
Marcel Holtmann [Fri, 10 Feb 2012 08:42:54 +0000 (09:42 +0100)]
ifxmodem: Remove another usage g_utf8_validate
Denis Kenzior [Fri, 10 Feb 2012 06:38:37 +0000 (00:38 -0600)]
ifx: Don't use g_utf8_validate
Emergency Numbers can only be digits, so there's no point to use the
'Hammer of Thor' that is g_utf8_validate when a much simpler function
will do the job just as well.
Denis Kenzior [Fri, 10 Feb 2012 04:35:21 +0000 (22:35 -0600)]
ifx: Take out bad merge
Denis Kenzior [Fri, 10 Feb 2012 04:34:02 +0000 (22:34 -0600)]
ifx: Modify XLEMA behavior
XLEMA reports emergency numbers that are hardcoded (e.g. 112 and 911)
and that are already read from EFecc. The additional emergency numbers
we are interested in should only come from the NVM or the network NITZ
update.
Marcel Holtmann [Fri, 10 Feb 2012 01:42:43 +0000 (02:42 +0100)]
ifx: Use CFUN=0 (Minimum Functionality) to disable modem
Marcel Holtmann [Fri, 10 Feb 2012 01:15:16 +0000 (02:15 +0100)]
ifxmodem: Handle malformed emergency numbers
This might be either a modem firmware bug or the SIM card is provisioned
really badly, but the last entry contains garbage characters.
ofonod[20620]: Voice: < \r\n+XLEMA: 1,9,"112",,1\r\n\r\n+XLEMA: 2,9,"911",,1\r\n\r\n+XLEMA: 3,9,"000",57,1\r\n\r\n+XLEMA: 4,9,"08",49,1\r\n\r\n+XLEMA: 5,9,"112",49,1\r\n\r\n+XLEMA: 6,9,"118",0,1\r\n\r\n+XLEMA: 7,9,"119",0,1\r\n\r\n+XLEMA: 8,9,"911",0,1\r\n\r\n+XLEMA: 9,9,"999\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377",0,1\r\n
Fix this by just validating the string and cutting off once an invalid
character is found.
Marcel Holtmann [Fri, 10 Feb 2012 00:17:06 +0000 (01:17 +0100)]
ifx: Remove handling of audio settings setup
The audio settings setup is now done as port of the audio settings atom.
Frédéric Danis [Thu, 9 Feb 2012 09:12:34 +0000 (10:12 +0100)]
voicecall: Fix emulator AT+CHUP for HFP
AT+CHUP should be able to hang-up active or incoming calls
Denis Kenzior [Wed, 8 Feb 2012 02:00:52 +0000 (20:00 -0600)]
ifx: Add necessary incantations for audio
Marcel Holtmann [Fri, 3 Feb 2012 05:51:26 +0000 (21:51 -0800)]
ifx: Fix compilation issue
Denis Kenzior [Thu, 2 Feb 2012 15:17:04 +0000 (09:17 -0600)]
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)
Denis Kenzior [Thu, 2 Feb 2012 15:15:36 +0000 (09:15 -0600)]
ifx: Make sure query XSIMSTATE
XSIMSTATE=1 does not seem to reliably activate XSIM notifications
anymore. So query the XSIMSTATE at startup instead.
Denis Kenzior [Thu, 2 Feb 2012 11:53:53 +0000 (05:53 -0600)]
ifx: Use a proper prefix for XGENDATA
Denis Kenzior [Tue, 24 Jan 2012 17:33:16 +0000 (11:33 -0600)]
sim: Fix crash due to uninitialized spn_watch
Vinicius Costa Gomes [Tue, 24 Jan 2012 13:57:22 +0000 (10:57 -0300)]
btio: Remove the default security level from btio
The default value of sec_level when setting *any* option
using bt_io_set() was BT_SECURITY_MEDIUM. This was causing
the security procedure being started in some situations that
it should not.
Vinicius Costa Gomes [Tue, 24 Jan 2012 13:57:19 +0000 (10:57 -0300)]
btio: Add support for getting the Encryption Key Size via btio
Some profiles specify some restriction depending on the length
of the key used to encrypt the link, this adds an way to retrieve
that value from the kernel.
Oleg Zhurakivskyy [Mon, 23 Jan 2012 09:41:36 +0000 (11:41 +0200)]
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.
Marcel Holtmann [Fri, 20 Jan 2012 15:59:32 +0000 (16:59 +0100)]
Release 1.3
Denis Kenzior [Wed, 18 Jan 2012 19:28:31 +0000 (13:28 -0600)]
TODO: Mark Handsfree interface task as done
Denis Kenzior [Wed, 18 Jan 2012 19:20:29 +0000 (13:20 -0600)]
TODO: Mark GPRS provisioning task as done
Denis Kenzior [Wed, 18 Jan 2012 19:10:48 +0000 (13:10 -0600)]
TODO: Mark SAP task as done
Denis Kenzior [Wed, 18 Jan 2012 19:01:16 +0000 (13:01 -0600)]
modem: Use __ofono_atom_find
Also remove defunct comment about registered status
Denis Kenzior [Wed, 18 Jan 2012 18:58:20 +0000 (12:58 -0600)]
stk: find_atom only returns registered atoms
This seems to be an oversight from an earlier refactoring.
Denis Kenzior [Wed, 18 Jan 2012 18:55:02 +0000 (12:55 -0600)]
sms: Don't need the sim member now
Denis Kenzior [Wed, 18 Jan 2012 18:52:01 +0000 (12:52 -0600)]
cbs: finding SIM atom seems to not necessary now
Denis Kenzior [Wed, 18 Jan 2012 18:50:55 +0000 (12:50 -0600)]
stk: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 18:36:37 +0000 (12:36 -0600)]
gprs: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:54:42 +0000 (11:54 -0600)]
cdma-connman: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:52:17 +0000 (11:52 -0600)]
voicecall: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:45:49 +0000 (11:45 -0600)]
ussd: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:43:59 +0000 (11:43 -0600)]
emulator: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:42:20 +0000 (11:42 -0600)]
call-forwarding: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:37:02 +0000 (11:37 -0600)]
sms: Use __ofono_atom_find
Denis Kenzior [Wed, 18 Jan 2012 17:29:12 +0000 (11:29 -0600)]
cbs: Use __ofono_atom_find macro
Denis Kenzior [Wed, 18 Jan 2012 17:24:14 +0000 (11:24 -0600)]
network: Use __ofono_atom_find macro
Denis Kenzior [Wed, 18 Jan 2012 17:23:54 +0000 (11:23 -0600)]
message-waiting: Use __ofono_atom_find macro
Denis Kenzior [Wed, 18 Jan 2012 17:23:18 +0000 (11:23 -0600)]
ofono: Add __ofono_atom_find macro