summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem
AgeCommit message (Collapse)AuthorFilesLines
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-05-19netreg: Fix crash when CREG is reported too earlyDenis Kenzior1-17/+12
If we register for CREG notifications before the netreg atom is registered (e.g. in MBM due to CIND queries) we crash if the CREG notification arrives before the CIND is queried.
2010-05-19huawei: add gprs contextKalle Valo1-0/+4
Tested with Huawei E1552 HSDPA USB stick using a finnish Saunalahti prepaid SIM.
2010-05-19Move report_signal_strength to atutilKalle Valo2-16/+18
The function is needed in two different places, better to move it to atutil.h.
2010-05-12atmodem: Pass allowed response prefixes to gatchatAndrzej Zaborowski1-6/+9
Not doing this creates a race condition where any notification comming in in the middle of a sequence of commands may be counted as a response to one of the commands and get lost.
2010-05-11atmodem: Fix crashes related to unremoved timeoutsDenis Kenzior1-2/+12
Any timeouts set must be removed using g_source_remove. Failure to do so results in sigsegvs when the modem is randomly removed during the initialization cycle.
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-04-15Rename ofono_atmodem_poll_enableDenis Kenzior2-2/+2
This is not official oFono API
2010-04-15Implement STATUS polling in atmodem driver.Andrzej Zaborowski2-0/+341
2010-04-15Fix: should be unsigned char not guint8Denis Kenzior1-1/+1
2010-04-15Style: Proper indentationDenis Kenzior1-6/+6
2010-04-15Add AT driver for STK atom.Andrzej Zaborowski3-0/+263
2010-04-15Add Sim Toolkit atomAndrzej Zaborowski1-77/+0
- Add ofono_stk atom in stk.c - Move envelope command from sim driver to stk driver
2010-03-31Initial implementation of the PPP gprs contextDenis Kenzior1-88/+115
2010-03-29Style: braces are not neededDenis Kenzior1-1/+1
2010-03-29Fix: Use tech reported by MBM erinfoDenis Kenzior1-0/+33
2010-03-28Fix: Handle 2 and 3 argument versions of ERINFODenis Kenzior1-3/+23
2010-03-28Move erinfo notify to atmodem netreg driverDenis Kenzior1-0/+27
2010-03-26Add phonesim vendor quirkDenis Kenzior2-0/+8
2010-03-26Add mbm vendorDenis Kenzior1-0/+1
2010-03-26Refactor: Use CIND as default strength reportingDenis Kenzior1-31/+99
Many vendors seem to use CIND instead of CSQ / proprietary extensions.
2010-03-26Update atmodem gprs driver to the new APIDenis Kenzior1-10/+10
2010-02-10Fix: memory leakDenis Kenzior1-0/+5
2010-02-08Add Wavecom's quirky CPIN handlingDenis Kenzior2-7/+23
2010-02-08Refactor: Remove atutil dump_responseDenis Kenzior17-136/+0
No longer needed now that we have nice AT command tracing using OFONO_AT_DEBUG=1
2010-02-08Fix: Don't use ofono_debug directly in pluginsDenis Kenzior7-42/+40
2010-02-05Fix: Use snprintf instead of sprintf in atmodemDenis Kenzior12-55/+58
2010-02-04Fix: Dead AssignmentsDenis Kenzior2-6/+3
2010-02-02Fix: Ignore CBM pdus bigger than 88 bytesDenis Kenzior1-0/+5
2010-01-28Fix some leftover oudated copyrightsMarcel Holtmann1-1/+1
2010-01-25Add STE modem support for GPRS and network registrationSjur Brændeland3-3/+86
2010-01-25Add at_util_call_compare_by_id functionSjur Brændeland2-0/+15
2010-01-20Fix: Support devices with CSCB mode 0 onlyDenis Kenzior1-14/+73
MBM devices do not support CSCB mode 1 (remove topics). It is thus necessary to use mode 0 and sending an empty topic list in order to turn off all topics. This patch will first query the CSCB modes supported by the hardware. If mode 1 is supported, then the old behavior is used, otherwise the new behavior is used.
2010-01-20Style: Don't go over 80 characters per lineDenis Kenzior1-2/+8
2010-01-20Add quirk for cid and lac handling for HuaweiJussi Kukkonen5-24/+70
2010-01-12Style: Trailing whitespace & extra linesDenis Kenzior1-2/+2
2010-01-01Update copyright informationMarcel Holtmann20-20/+20
2009-12-17Style: Repeat for driversDenis Kenzior2-2/+4
2009-12-17Fix: The extra 00 at the end isn't necessaryDenis Kenzior1-2/+1
2009-12-17Fix: Use capitals for hex-encoded pdusDenis Kenzior1-5/+5
2009-12-17Fix: Make sure we don't leak under any conditionsDenis Kenzior1-0/+4
2009-12-17Simplify previous patchDenis Kenzior1-20/+14
2009-12-17Implementat SIM envelope in atmodem driverDenis Kenzior1-0/+81
2009-12-10Activate Speech Service for Option devicesMarcel Holtmann1-0/+16
2009-12-10Query current state of Option specific settingsMarcel Holtmann1-0/+6
2009-12-09Use at_util_parse_reg in netreg driverDenis Kenzior1-51/+6
2009-12-09Use new at_util_parse_reg in gprs driverDenis Kenzior1-55/+8
2009-12-09Add utilities to parse CREG/CGREGDenis Kenzior2-0/+102
These are nearly identical and can be shared between gprs/netreg