summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem
AgeCommit message (Collapse)AuthorFilesLines
2009-12-09Style: Fix some remaining style issues in atmodemDenis Kenzior5-10/+12
2009-12-08Harden the CGREG parsing functionDenis Kenzior1-19/+21
Sometimes the CGREG query and CGREG unsolicited notification get intermixed. Since they have the same prefix, GAtChat clumps them together. Make sure the parser skips the unsolicited notification.
2009-12-07Add experimental Option tech parsingDenis Kenzior1-0/+58
Option seems to implement their own commands for network technology reporting. This is a first attempt to implement this for data gathering purposes.
2009-12-07Add support for HSO signal quality reportingDenis Kenzior1-0/+26
2009-12-07Add Option HSO quirkDenis Kenzior1-0/+1
2009-12-07Fix: Sometimes Option modems don't return infoDenis Kenzior1-17/+23
When querying CGMI the Option modems sometimes just return OK, with no manufacturer information given.
2009-12-07Refactor: Calypso unsolicited signal strengthDenis Kenzior1-4/+9
2009-12-04Fix release clcc_source when voicecall is removedZhenhua Zhang1-0/+3
Release the timer to avoid invoking the callback function after voicecall driver is removed.
2009-12-04Refactor: Run CLCC when initializingDenis Kenzior1-56/+9
When voicecall atom is initialized, we should run a CLCC query to populate our call list. This also notifies the core of the new calls
2009-12-04Update atmodem voicecall driver to new world orderDenis Kenzior1-9/+7
2009-12-04Fix: StyleDenis Kenzior1-2/+1
2009-12-04Remove: at_util callid APIs are no longer necessaryDenis Kenzior2-22/+0
2009-12-01Style: Use unsigned int instead of unsignedDenis Kenzior1-1/+1
2009-11-23Add mpty field to ofono_callZhenhua Zhang1-1/+3
A field 'mpty' is added to ofono_call so that we can know whether the call belongs to multiparty call or not. According to 27.007 7.18, it is a defined return value of AT+CLCC.
2009-11-18Add CALLBACK_WITH_SUCCESSDenis Kenzior1-0/+8
2009-11-18Fix: Report the current operator as currentDenis Kenzior1-1/+2
2009-11-17Update the AT modem driver to the new APIDenis Kenzior1-7/+7
2009-11-16Fix: Ignore repeated CCWAs in atmodem as wellDenis Kenzior1-0/+5
2009-11-13Make sure the atmodem handles ATD properlyDenis Kenzior1-0/+12
The driver must set any existing active calls to held
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-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-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-10-29Update the atmodem driver to the new APIDenis Kenzior1-2/+2
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-23Fix: Some modems report PDP_type in a listDenis Kenzior1-1/+9
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-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-02Fix: Quiet a warningDenis Kenzior1-0/+1