summaryrefslogtreecommitdiffstats
path: root/src/gprs.c
AgeCommit message (Collapse)AuthorFilesLines
2010-08-26gprs: add debug infoPekka Pessi1-0/+9
2010-08-20gprs: Default value for RoamingAllowed should be FALSEMarcel Holtmann1-2/+2
2010-08-19gprs: Use "Internet" for default PDP context nameMarcel Holtmann1-1/+1
2010-08-19gprs: Automatically add a context if none definedDenis Kenzior1-23/+39
2010-08-19gprs: Add support for GetContextsDenis Kenzior1-5/+58
2010-08-19gprs: Tweak context object path namingDenis Kenzior1-6/+23
And support loading of legacy context names
2010-08-19gprs: Break out writing of gprs context settingsDenis Kenzior1-13/+18
2010-08-19gprs: Add ContextRemoved signalDenis Kenzior1-0/+20
2010-08-19gprs: Emit the ContextAdded signalDenis Kenzior1-2/+31
2010-08-19gprs: minor style fixDenis Kenzior1-1/+2
2010-08-19gprs: Break out context properties append functionDenis Kenzior1-25/+30
2010-08-19gprs: Get rid of PrimaryContexts propertyDenis Kenzior1-67/+0
2010-08-19gprs: Update CreateContext to AddContextDenis Kenzior1-15/+10
2010-08-19gprs: Update GPRS related DBus interface namesDenis Kenzior1-44/+39
2010-08-18gprs: Update Attached when Auto-Attached succededDenis Kenzior1-2/+5
2010-08-13gprs: Fix up some attach/detach logic issuesDenis Kenzior1-10/+23
Parts of it are related to Meego bug 5193, namely that we don't properly signal the Attached status when powering down. Another part of the fix is that we automatically detach in case our conditions are not fulfilled if the modem attaches automatically (e.g. Auto-Attach is enabled)
2010-08-09gprs: Fix release cid in gprs_deactive_for_removeZhenhua Zhang1-0/+3
Similiar to pri_deactive_callback, we should release the context id in gprs_deactive_for_remove() as well.
2010-07-19gprs: Minor style fixesDenis Kenzior1-2/+3
2010-07-19gprs: Add Protocol property with IPv6/IPv4Denis Kenzior1-1/+81
2010-06-25gprs: Fix to attachment race conditionDenis Kenzior1-6/+4
Sometimes we get unsolicited attachment status before our query finishes. If the client is fast enough they can attempt to attach and get the AttachInProgress error
2010-06-09Move data connection manager interface constants into common includeMarcel Holtmann1-27/+26
2010-03-26Refactor: Simplify the internal GPRS APIDenis Kenzior1-8/+6
We no longer expose lac/ci/tech attributes obtained from CGREG (some modems, like ISI, do not even report them for GPRS separately). Simplify the internal gprs driver api to only report the registration status (e.g. home, roaming, searching, not registered, etc)
2010-03-26Refactor: Get rid of DCM propertiesDenis Kenzior1-114/+1
Be conformant with the API changes from the previous commit
2010-02-08Fix: Tweak gprs attach logicDenis Kenzior1-5/+5
We use driver_attached to track whether the driver is attached / attaching. Unfortunately we only set it when set_attached succeeds. Instead we should set it right away when calling set_attached, so we cover pending attaches as well.
2010-02-08Fix: Add recheck flag to gprsDenis Kenzior1-1/+14
When a powered is toggled quickly, we ignore the second request. This flag tells us that we should recheck what the attach status should be once the current operation finishes
2010-02-08Fix: Don't use ofono_debug directly in the coreDenis Kenzior1-5/+5
Use DBG macro which is integrated with the new debug framework.
2010-01-07Make primary context ids persistentDenis Kenzior1-0/+11
2010-01-07Use idmap to allocate primary context idsDenis Kenzior1-7/+22
2010-01-07Fix: Fail if no driver or id range setDenis Kenzior1-4/+5
2010-01-07Use the new from_range idmap constructorDenis Kenzior1-22/+5
2010-01-07Refactor: Use idmap to allocate CIDsDenis Kenzior1-29/+18
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-12-24Use error label instead of err or err_outMarcel Holtmann1-13/+13
2009-12-17Style: Fix a few more occurences of if/elseDenis Kenzior1-1/+2
See Linux coding style document for details
2009-12-09Add context-id allocation / deallocation codeDenis Kenzior1-3/+76
This also disables attempts to use multiple active contexts. The code isn't setup to do this yet.
2009-12-09Refactor: use unsigned ints for cidsDenis Kenzior1-3/+4
2009-12-08Fix: Reset active contexts if gprs is detachedDenis Kenzior1-0/+21
When we lose network registration or are forcefully detached from the network we must reset all active contexts to inactive.
2009-12-08Reset context settings when context is deactivatedDenis Kenzior1-0/+1
2009-12-08Style: Remove extra blank lineDenis Kenzior1-1/+0
2009-12-01Style: Use unsigned int instead of unsignedDenis Kenzior1-1/+2
2009-11-24Get rid of the pointless checks before g_free in GPRS engineMarcel Holtmann1-30/+11
2009-11-24Add support bringing GPRS interfaces up and down as neededMarcel Holtmann1-0/+50
2009-11-23Emit settings signal before active signalMartin Xu1-6/+7
2009-11-18Report AttachInProgress ErrorDenis Kenzior1-1/+1
If one tries to activate a context and we're currently attaching or detaching from GPRS, report the AttachInProgress error
2009-11-18Refactor: Send NotAttached errorDenis Kenzior1-3/+3
If one tries to activate the context and we're currently not attached to GPRS, report a NotAttached error instead of a failure
2009-11-18Implement CGREG queryDenis Kenzior1-1/+21
Some modems do not properly send CGREG notifications when the context is attached / detached. We manually query the registration state of GPRS to make sure that if the modem is indeed attached, the state is reflected properly
2009-11-18Refactor: Move functions up to avoid declarationDenis Kenzior1-72/+75
2009-11-18Fix: Again, uncross the wiresDenis Kenzior1-1/+1
2009-11-18Fix: Uncross the wiresDenis Kenzior1-2/+2
2009-11-17Support Settings property of PrimaryContextDenis Kenzior1-9/+206