summaryrefslogtreecommitdiffstats
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
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
2009-10-23Refactor: Initialization codeDenis Kenzior1-110/+45
2009-10-23Add GPRS registration status implementationDenis Kenzior1-178/+40
2009-10-23Remove unused codeDenis Kenzior1-147/+12
2009-10-23Refactor: First round of renamingDenis Kenzior3-110/+110
2009-10-23Refactor: rename data-connection to gprsDenis Kenzior1-1/+1
Keep the name specific to GSM, other implementations will probably require their own interfaces
2009-10-23Add GPRS supportAndrzej Zaborowski3-0/+654
This commit implements the GPRS context setup and teardown according to doc/dataconnectionmanager-api.txt One issue with the AT implementation of the api is that "Powered" (a read-write property) can be set independently of "Attached" (read-only property) and remain set when "Attached" is clear. The semantics would be that the network doesn't have resources to let the modem attach, but the modem waits for the resources to become available and then attaches. On AT the modem is in this state only when executing +CGATT, so currently the code will rerun +CGATT as soon as the previous one returns with error, probably starving other commands. A possible workaround would be for "Powered" to flip back to False after the modem fails to attach once, or give up on having separate properties. Alternatively we could re-try to attach periodically but on one modem I've tried +CGATT fails after about 1 minute (that's the Calypso) and on another only about 0.5s (Nokia phones with AT emulation). When "Powered" is set and "RoamingAllowed" is clear and we manage to attach and find that we're roaming, ofono resets "Powered". We may want to catch the user trying to dial *99***1# which is the backwards compatibility quirk for old modems (same way ofono parses USSD strings).
2009-10-23Fix: Invalid call state transitionDenis Kenzior1-0/+16
When an active and a waiting call exist, and the active is released the waiting call becomes incoming. This wasn't properly handled by the generic at driver.
2009-10-23Replace Glib type with standard C typeZhang, Zhenhua1-4/+4
2009-10-19Rename: drivers/hfpmodem/hfp.[ch] to hfpmodem.[ch]Denis Kenzior2-1/+1
Be more consistent with other drivers
2009-10-19Fix: Make 'make distcheck' happy againDenis Kenzior1-1/+0
2009-10-19Refactor: Setup the HF features bitmapDenis Kenzior1-0/+9
Do not use magic numbers unless strictly necessary
2009-10-19Refactor: Don't store indicator namesDenis Kenzior1-4/+14
We already know the indicators we're interested in from the specification, malloc/free-ing the indicator names is thus pointless. Instead save off the indicator index positions in an array. Parse the current values instead of storing the unparsed list.
2009-10-19Add initial glue code for hfp driverZhenhua Zhang2-0/+101
2009-10-16Fix: Use proper printf format for string precisionDenis Kenzior1-1/+1
2009-10-16Cleanup: Fixup USSD to use cbs_decode_dcsDenis Kenzior1-18/+19
Don't decode by hand, use existing function
2009-10-16Parse +CUSD responses.Andrzej Zaborowski1-13/+93
2009-10-16Fix: Emit debug message instead of an errorAndrzej Zaborowski1-1/+1
SMS storage is frequently empty at startup, if this is the case, do not use ofono_error, use ofono_debug instead.
2009-10-16Fix: Free converted string after use.Andrzej Zaborowski1-2/+8
Also make sure we don't read beyond end of the string.
2009-10-16Fix conditional statementAki Niemi1-1/+2
2009-10-16Fix: restrict keyword use breaking distcheckAki Niemi1-2/+2
2009-10-16isimodem/voicecall.c: initial versionPekka Pessi3-35/+2008
Implementing all the voicecall methods. Tested with Nokia 2008 modems. - problems in call creation are probably not reported properly - deflect not implemented in modem, not properly tested TODO: Clean up style issues and align with other drivers.
2009-10-16Refactor sub-sub-block handlingAki Niemi1-112/+94