summaryrefslogtreecommitdiffstats
path: root/src/gprs.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-02gprs: Fix for gprs context conversionAntti Paila1-1/+1
2010-11-29core: explicitly compare pointers to NULLLucas De Marchi1-14/+14
This patch was generated by the following semantic patch (http://coccinelle.lip6.fr/) // <smpl> @fix disable is_null,isnt_null1@ expression *E; @@ - !E + E == NULL // </smpl>
2010-11-26core: Remove stray newlines in messages sent to logRĂ©mi Denis-Courmont1-1/+1
2010-11-22src: coding style fixes - rule M6Jeevaka Badrappan1-2/+2
2010-11-08gprs: NULL-safe ofono_gprs_context_remove()Pekka Pessi1-0/+3
Check for NULL in one place.
2010-10-27gprs-context: Replace TYPE_INVALID with TYPE_ANYDenis Kenzior1-26/+27
2010-10-27gprs: Use common function for default name of default Internet contextMarcel Holtmann1-1/+7
2010-10-27gprs-context: add IMS connection typePekka Pessi1-0/+6
2010-10-27gprs: Add host route to the configured MMS proxyMarcel Holtmann1-2/+109
2010-10-27gprs: Set IP address for GPRS contexts of type MMSMarcel Holtmann1-0/+49
2010-10-27gprs: Add support for exposing proxy information for MMS contextMarcel Holtmann1-3/+20
2010-10-27gprs: Add support for selecting GPRS context drivers based on typesMarcel Holtmann1-4/+14
2010-10-27gprs: Add flag to track usage of GPRS context driversMarcel Holtmann1-2/+10
2010-10-27gprs: Extract GPRS context assignment into separate functionMarcel Holtmann1-12/+21
2010-10-27gprs: Add support for setting GPRS context typeMarcel Holtmann1-2/+11
2010-10-27gprs: Make GPRS context type a public enumMarcel Holtmann1-34/+31
2010-10-27gprs: Load stored MMS Proxy and MMSC settingsMarcel Holtmann1-12/+30
2010-10-26gprs: Use better default name for context creationMarcel Holtmann1-1/+20
2010-10-26gprs: Add support for storing MMS Proxy and MMSC settingsMarcel Holtmann1-0/+91
2010-10-26gprs: Assign GPRS atom to GPRS context atomMarcel Holtmann1-0/+5
If the GPRS atom is not assigned to the GPRS context atom, then possible network triggered activation crashes.
2010-10-25gprs: Return busy if ops are potentially collidingDenis Kenzior1-0/+19
2010-10-25gprs: Implement DeactivateAll()Denis Kenzior1-1/+59
2010-10-25gprs: Support multiple active contextsDenis Kenzior1-41/+42
2010-10-24gprs: Handle failure of GPRS context atom driversMarcel Holtmann1-1/+2
The GRPS context atom drivers can return an error from their probe callbacks. In that case gc->driver is NULL and will cause a crash when trying to activate a context. So check that there is actually a driver attached to that GPRS context.
2010-09-21Fix multi-line comment style issuesJeevaka Badrappan1-3/+6
2010-09-10gprs: add Suspended propertyMika Liljeberg1-0/+72
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.