summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem
AgeCommit message (Collapse)AuthorFilesLines
2010-06-09Coding style fix for the PIN type tableMarcel Holtmann1-16/+16
2010-06-07atmodem: Fix CPUC parserDenis Kenzior1-6/+12
Apparently some modems are extra stupid: AT+CPUC?\r \r\n+CPUC: \r\nOK\r\n So if we fail to parse the response, return an error
2010-06-07netreg: whitespace styleDenis Kenzior1-2/+2
2010-06-07netreg: Add Huawei RSSI unsolicited callbackDenis Kenzior1-4/+20
2010-06-07atmodem: Optimize cops queriesDenis Kenzior1-20/+25
This patch is meant to do two things: - Some modems, like the Novatel, report bogus operator information when not registered, as opposed to simply returning empty strings. In this case we're a little bit more explicit about checking the returned mcc/mnc string - If we determine that the mcc/mnc string is bogus, we don't schedule the alphanumeric cops query and return early.
2010-06-06Add special SMS handling for Huawei based devicesMarcel Holtmann1-2/+10
2010-06-06Move AT_ODO quirk into HSO driver instead of network registrationMarcel Holtmann1-17/+0
2010-06-06Use unquoted strings for cell information of Novatel devicesMarcel Holtmann1-0/+2
2010-06-06Add support for handling CNTI=0 request with Novatel devicesMarcel Holtmann2-11/+61
2010-06-04hso: Enable OUWCTI notificationsDenis Kenzior1-3/+3
2010-06-04atmodem: Put some common code into a utilityDenis Kenzior1-20/+17
2010-06-04Change in at_cds_notify for status reportPasi Miettinen1-4/+15
2010-06-04Send OWCTI query when bringing up Option based devicesMarcel Holtmann1-0/+2
2010-06-04Use AT_OUWCTI instead of AT_OWCTI as expectedMarcel Holtmann1-1/+1
The Option firmware is so funny. It has a typo in the AT command :)
2010-06-04Enable Option specific OWCTI unsolicited notificationsMarcel Holtmann1-0/+2
2010-06-03The ack pdu support is not working on Novatel or Option devicesMarcel Holtmann1-1/+6
2010-06-03Quirk SMS handling for Novatel based devicesMarcel Holtmann1-2/+3
The Novatel based devices with Qualcomm chips seems to have various problems. First they advertise CNMI mode 2, but don't support it. And second they don't support CNMA acknowledgement with a PDU. So fall back to acks without PDU.
2010-06-03Add special quirk for Novatel based devicesMarcel Holtmann2-0/+7
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-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