summaryrefslogtreecommitdiffstats
path: root/src/gprs.c
AgeCommit message (Collapse)AuthorFilesLines
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
2009-11-17Add ofono_gprs_context_get_modemMartin Xu1-0/+5
2009-11-05Fix: Load GPRS settings before finding netregDenis Kenzior1-9/+9
GPRS Settings should be loaded before we try to find netreg atom and potentially try to make the attach/detach decisions.
2009-11-02Add ability to restore GPRS contexts from settingsDenis Kenzior1-5/+113
2009-11-02Save GPRS context settingsDenis Kenzior1-2/+67
2009-11-02Add Basic save/restore code for GPRS settingDenis Kenzior1-3/+76
2009-11-02Limit the number of contexts that we manageDenis Kenzior1-0/+4
2009-11-02Update CreateContext APIDenis Kenzior1-10/+26
2009-11-02Add utility to convert strings to context typeDenis Kenzior1-8/+17
2009-11-02Fix: Default to type internetDenis Kenzior1-1/+1
2009-10-30Add checking for valid APN formatDenis Kenzior1-0/+3
2009-10-29Fix: Don't pass ofono_network_operator structuresDenis Kenzior1-1/+1
2009-10-27Fix: Obscure crash when GPRS is not supportedDenis Kenzior1-0/+5
2009-10-27Fix: Properly unregister context on exitDenis Kenzior1-0/+7
2009-10-26Fix: Use driver_attached instead of attachedDenis Kenzior1-1/+1
2009-10-26Make netreg_update based on CREG, not CGREGDenis Kenzior1-5/+2
2009-10-26Simplify logic in netreg_updateDenis Kenzior1-13/+14
2009-10-26Fix unused variable warningDenis Kenzior1-2/+1
2009-10-26Don't cause an infinite loopDenis Kenzior1-5/+4
2009-10-26Get rid of the AFTER_ROAMING stuffDenis Kenzior1-18/+1
2009-10-26Ignore gprs status when not attached/attachingDenis Kenzior1-0/+5
2009-10-26Update attached status when gprs status changesDenis Kenzior1-5/+1
2009-10-26Fix: notify_attached was only used when detachedDenis Kenzior1-6/+10
The standard only specifies that the context might have been detached by the network / mobile equipment. Not attached.
2009-10-26Add a master function for updating attached stateDenis Kenzior1-11/+15
2009-10-26Fixup initialization logicDenis Kenzior1-2/+6
2009-10-26Fix: Initialize registration statusesDenis Kenzior1-0/+2
2009-10-26Refactor: Make GPRS use information from netregAndrzej Zaborowski1-41/+106
2009-10-26Fix: Don't attach if searchingAndrzej Zaborowski1-3/+5
Don't ask driver to attach GPRS if modem is already searching for an operator.
2009-10-26Fix interpretation of new GPRS registration status signal.Andrzej Zaborowski1-2/+2
2009-10-24Fix: Fix segfault from improperly initialized dataDenis Kenzior1-0/+1
2009-10-24Just return success when value already set in SetProperty.Andrzej Zaborowski1-0/+6
2009-10-23Fix: Connect up gprs and gprs_contextDenis Kenzior1-4/+21