summaryrefslogtreecommitdiffstats
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2009-11-17Update the AT modem driver to the new APIDenis Kenzior1-7/+7
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 CCWAs in atmodem as wellDenis Kenzior1-0/+5
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-13Make sure the atmodem handles ATD properlyDenis Kenzior1-0/+12
The driver must set any existing active calls to held
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-13Fix issue with missing masking of AT%CHLDMarcel Holtmann1-1/+1
drivers/calypsomodem/voicecall.c: In function ‘calypso_release_specific’: drivers/calypsomodem/voicecall.c:162: error: too few arguments for format
2009-11-12Fix: On calypso use proprietory %CHLD=7X commandDenis Kenzior1-1/+4
2009-11-12Use at_util_parse_clcc in atmodemZhenhua Zhang1-57/+2
Replace parse_clcc by at_util_parse_clcc in atmodem voicecall.
2009-11-12Add parse_clcc into atutil.cZhenhua Zhang2-0/+56
So that it could be shared by atmodem and hfpmodem.
2009-11-12Fix: Set data to NULL in hfpmodem driversZhenhua Zhang2-0/+5
2009-11-11Style: Use 1 instead of 0x1Zhenhua Zhang1-3/+3
2009-11-11Add call_compare_by_phone_number utility functionZhenhua Zhang2-0/+10
This utility will be used by HFP voicecall driver to compare two calls. In some hardware, the call index may be shift when a call transitions from waiting to incoming state (e.g. all other held and active calls are released)
2009-11-11Fix: Set data to NULL in driversDenis Kenzior4-0/+9
2009-11-11Fix: Don't leak data in SIM atom driverDenis Kenzior1-0/+5
2009-11-11Add call volume support for hfpmodemZhenhua Zhang3-0/+246
The call volume driver listens the speaker volume and microphone gain from the AG. It also allow to synchronze the speaker and microphone volume changes with the AG through AT+VGS and AT+VGM. Volume level synchronization from HFP spec 1.5 Section 4.28.2 is performed on startup.
2009-11-10Fix: Rename G1 quirk to QUALCOMM_MSMDenis Kenzior3-6/+5
2009-11-10Work around Palm Pre SIM file reading quirk.Andrzej Zaborowski2-27/+46
I'm not sure if MSM is not a too generic name but it seems the G1's Qualcomm MSM suffers from similar problems.
2009-11-10Fix +CGEV: parsingAndrzej Zaborowski1-2/+4
2009-11-10Accept ranges in +CSMS responses.Andrzej Zaborowski1-3/+3
2009-11-10Fix: Don't bail if CREG/CGREG mode=2 is unsupportedAndrzej Zaborowski2-7/+106
2009-11-03Fix: Minor style issuesDenis Kenzior1-3/+3
2009-11-03Create network registration driver for hfpmodemGustavo F. Padovan3-0/+361
This driver handles phone informations about registration status, signal strength and roaming status listening +CIEV commands. It also gets the Network Operator name with +COPS commands.
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-29Update the isimodem driver to the new APIDenis Kenzior1-2/+2
2009-10-29Update the atmodem driver to the new APIDenis Kenzior1-2/+2
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 Zhang2-0/+611
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.
2009-10-28Refactor: Move alloc/release id to atutil.cZhenhua Zhang3-22/+24
2009-10-28Refactor: Move & Rename functions to atutil.cZhenhua Zhang3-32/+35
Move and rename call_compare and call_compare_by_status to atutil.c. These will be utilized by other drivers, including hfpmodem.
2009-10-26Fix: notify_attached was only used when detachedDenis Kenzior1-1/+1
The standard only specifies that the context might have been detached by the network / mobile equipment. Not attached.
2009-10-24Fix: Register for E2NAP notificationsDenis Kenzior1-0/+2
2009-10-24Fix: ENAP=0 is the only way to use thisDenis Kenzior1-4/+1
2009-10-23Fix: Some modems report PDP_type in a listDenis Kenzior1-1/+9
2009-10-23Add initial implementation of MBM gprs contextDenis Kenzior3-0/+325
2009-10-23Register for CGEV indications in gprs contextDenis Kenzior1-0/+4
2009-10-23Remove unused code and make compiler happyDenis Kenzior2-3/+0
2009-10-23Add basic atmodem gprs context implementationDenis Kenzior3-0/+275