summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/gprs-context.c
AgeCommit message (Collapse)AuthorFilesLines
2014-07-08atmodem: set the auth method for u-blox modemsPhilip Paeps1-3/+28
2014-06-21atmodem: set the PPP authentication method to usePhilip Paeps1-0/+14
2013-07-18atmodem: Add gprs-context quirk for SIM900Jesper Larsen1-1/+5
The SIM900 module from SIMCOM does have a AT+CGDATA command. However, it is not possible to make a ppp connection when CGDATA has been used to bring up the gprs context. This patch adds a quirk that uses the alternative ATD*99***<cid># command instead.
2012-08-13gprs-context: print reason for ppp disconnectChristopher Vogl1-1/+1
2012-07-15gprs-context: Add new driver entry definitionGuillaume Zajac1-0/+11
2011-10-10drivers: Update copyright informationMarcel Holtmann1-1/+1
2011-08-05atmodem: Add funny ZTE quirk for GPRS context supportMarcel Holtmann1-0/+21
2011-08-05atmodem: Add support for handling GPRS context vendor quirksMarcel Holtmann1-0/+3
2011-07-24atmodem: Add support for NW DEACT notifications on slave channelMarcel Holtmann1-0/+40
2011-05-24atmodem: Update to new GAtPPP apiDenis Kenzior1-2/+2
2011-03-15atmodem: update to new gprs context interfaceMika Liljeberg1-20/+21
2011-01-12atmodem: M15 coding style fixJeevaka Badrappan1-2/+2
2010-11-29drivers: explicitly compare pointers to NULLLucas De Marchi1-1/+1
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-10-27atmodem: Print IP details after GPRS context setupMarcel Holtmann1-0/+3
2010-10-27atmodem: Add some more GPRS context debug statementsMarcel Holtmann1-2/+14
2010-10-21atmodem: Use g_try_new0 when checking for the resultMarcel Holtmann1-1/+1
2010-10-21atmodem: Check for TUN/TAP support before enabling PPPMarcel Holtmann1-0/+13
2010-09-20atmodem: Allow setting PPP debug via environment variableMarcel Holtmann1-0/+8
2010-08-12atmodem: Use g_at_chat_cloneDenis Kenzior1-1/+3
2010-08-02Fix busylooped in ppp_disconnect for huawei modemZhenhua Zhang1-2/+7
Huawei modem closes the modem port after PPP disconnect. So the channel of gatchat is NULL in ppp_disconnect. In such case, we resume the chat and it causes huawei_disconnect() get called and the gprs context is removed later. Before removing this gprs context, we should reply the pending DBus message to the client.
2010-06-28atmodem: Update to the new PPP APIZhenhua Zhang1-2/+3
2010-06-11atmodem: Shutdown ppp cleanly on removeDenis Kenzior1-0/+7
There is a race condition from udev / kernel when a USB dongle is removed. Sometimes all ports are removed first (and the io channels for those ports are signaled as hupped) while other times the udev remove event fires first. If the latter happens, then gprs_context remove is called with a potentially live ppp object. This patch shuts it down cleanly.
2010-06-11atmodem: Always unref ppp when context is downDenis Kenzior1-0/+2
2010-06-03The default PPP netmask should be 255.255.255.255Marcel Holtmann1-1/+1
2010-05-26atmodem: fix crash during context deactivationKalle Valo1-5/+10
Ofono either crashed or busy looped with my Huawei E1552 3G modem when I tried to deactivate GPRS context. The reason was that gcd->chat was unreferenced already in setup_ppp() but the chat was still accessed later in at_gprs_deactivate_primary(). To fix the problem, change the logic instead to suspend chat session for PPP and resume when PPP has disconnected. Now it doesn't crash anymore. Deactivation still doesn't work properly with Huawei E1552, and most probably with other Huawei modems, because the modem hangs up the chat line after PPP deactivation. This needs to be fixed separately. The workaround is to reboot the modem, for example physically unplug and plug it in again.
2010-05-26atmodem: refactor context deactivationKalle Valo1-35/+16
The old way of using CGACT is no longer needed. It is enough that we shutdown PPP. Recommended by Denis.
2010-04-30atmodem: Port gprs-context to new PPP apiDenis Kenzior1-12/+8
2010-04-28Fix: For now calling g_at_chat_unref is fineDenis Kenzior1-1/+1
Same as g_at_chat_shutdown in this case
2010-03-31Initial implementation of the PPP gprs contextDenis Kenzior1-88/+115
2010-02-08Refactor: Remove atutil dump_responseDenis Kenzior1-6/+0
No longer needed now that we have nice AT command tracing using OFONO_AT_DEBUG=1
2010-02-05Fix: Use snprintf instead of sprintf in atmodemDenis Kenzior1-3/+3
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-12-01Style: Use unsigned int instead of unsignedDenis Kenzior1-1/+1
2009-11-17Update the AT modem driver to the new APIDenis Kenzior1-7/+7
2009-10-23Register for CGEV indications in gprs contextDenis Kenzior1-0/+4
2009-10-23Remove unused code and make compiler happyDenis Kenzior1-2/+0
2009-10-23Add basic atmodem gprs context implementationDenis Kenzior1-0/+270