summaryrefslogtreecommitdiffstats
path: root/drivers/hfpmodem/voicecall.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-24Fix: Move CHLD from voicecall driver to pluginZhenhua Zhang1-54/+1
According HFP v1.5 spec, AT+CHLD=? should be a part of SLC connection. So we should not do it after SLC connection is created.
2009-11-20Fix: Poll CLCC to replace the code in call_held=1Zhenhua Zhang1-44/+6
When using CHLD=2x in multiparty call, call_held is 1 and we should not swap all active->held. So we cannot save this pull in private chat.
2009-11-16Fix: Don't drop dialing calls when call=0 signaledDenis Kenzior1-23/+12
2009-11-16Fix: Don't double-swap calls when 3-way dialingDenis Kenzior1-0/+13
2009-11-16Fix: Update the status to held properlyDenis Kenzior1-1/+1
2009-11-16Refactor: Move repeated code to a functionDenis Kenzior1-24/+21
2009-11-16Fix: Handle callsetup=0 when no waiting or dialing callZhenhua Zhang1-0/+5
When call=1 and callsetup=0, if no waiting or dialing call, the call is active and no need to notify status change.
2009-11-16Fix: Ignore repeated CCWA notify if haveZhenhua Zhang1-0/+6
Some phone like iPhone repeats CCWA notify. So we need to ignore it when we already have waiting call.
2009-11-16Fix: Set current element properlyDenis Kenzior1-1/+4
When removing an element from the list, the current iterator was not being updated properly. Most likely leading to double free.
2009-11-16Style: SpacingDenis Kenzior1-1/+1
2009-11-13Add three-way calling support to HFP voice driverDenis Kenzior1-93/+503
2009-11-13Fix: Fill in the phone number info for outgoing callZhenhua Zhang1-30/+123
There're two cases of outgoing call: dial from HF or dial from phone. We could receive callsetup=2 indicator in both case. So adding AT+CLCC query to sync the outgoing call. In the first case, we only need to sync the phone number. In the second case, the phone is dialing from phone and we know nothing. Create a new call and notify the core. If phone does not support AT+CLCC and there's no call dialing from HF, we fake a new call for it.
2009-11-12Fix: Set data to NULL in hfpmodem driversZhenhua Zhang1-0/+3
2009-11-11Style: Use 1 instead of 0x1Zhenhua Zhang1-3/+3
2009-11-03Fix: The use of cind_val / cind_pos was wrongZhenhua Zhang1-7/+5
2009-11-03Refactor: Get rid of mpty_call variableZhenhua Zhang1-9/+3
2009-11-03Fix: Remove some dead codeZhenhua Zhang1-5/+1
2009-10-28Fix: This hack is no longer necessaryDenis Kenzior1-44/+1
2009-10-28Fix: Don't pass the indexesDenis Kenzior1-7/+9
These can be obtained inside the function anyway
2009-10-28Fix: No need to set this to NULLDenis Kenzior1-1/+0
2009-10-28Cleanup: Fixup styleDenis Kenzior1-13/+8
2009-10-28Add voicecall driver for Bluetooth HFPZhenhua Zhang1-0/+608
HFP voicecall driver uses AT+CIEV indicator to notify call status update according to Bluetooth HFP spec v1.5. This patch only adds single call support.