summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem
AgeCommit message (Collapse)AuthorFilesLines
2011-01-13atmodem: fix +COLR parsingRémi Denis-Courmont1-1/+28
AT+COLR does not have a local presentation mode and thus it cannot be factored with the other commands. This partially reverts commit f2baa88d7577649358f1f8587e5a9b6aa730ca41.
2011-01-12atutil: Break out attribute parser into atutilDenis Kenzior3-39/+53
2011-01-12atmodem: M15 coding style fixJeevaka Badrappan17-67/+67
2011-01-10atmodem: Use switch statement for vendor quirksMarcel Holtmann1-2/+4
2011-01-10sim: Fix missing return in the atmodem driverDenis Kenzior1-7/+10
In some circumstances it was possible to call the callback with both failure and success
2011-01-10sim: Prefer not using _ prefix for style reasonsDenis Kenzior1-5/+5
2011-01-10atmodem: implement query for remaining pin retriesLucas De Marchi1-0/+96
Implement query method for the remaining pin retries on huawei modem.
2011-01-10atmodem: check for VENDOR_HUAWEI on sim atomLucas De Marchi1-1/+3
2010-12-26netreg: Report timezone updates if availableMarcel Holtmann1-2/+6
2010-12-16atmodem: Always poll clcc, even if cring + clipDenis Kenzior1-8/+0
Even in the case of CRING and CLIP being used, we should start a CLCC poll. This is because we must still rely on polling CLCC to detect when an incoming call has been terminated by the remote side.
2010-12-16atmodem: Fix reporting of CLIPDenis Kenzior1-1/+2
When RING & CLCC polling is used, the CLIP will not be reported correctly if the CLIP: notification does not arrive
2010-12-16atmodem: Do not re-parse CLIP / CNAPDenis Kenzior1-4/+43
These needs to be parsed once and not parsed unnecessarily once the information has been recorded
2010-12-16atmodem: Set cnap validity to not providedDenis Kenzior1-0/+1
2010-12-16atmodem: Unify COLR/CNAP/CLIP/COLP parserDenis Kenzior1-93/+22
2010-12-16atmodem: Fix parsing of CNAP statusDenis Kenzior1-2/+3
2010-12-16atmodem: add CNAP to call-settingsGustavo F. Padovan1-0/+53
2010-12-16atmodem: Add CNAP parsing to voicecallGustavo F. Padovan1-0/+47
2010-12-11atutil: Fix parsing of un-quoted CREG / CGREGDenis Kenzior1-2/+17
On broken hardware like the Huawei, it is possible to receive both an unsolicited and a solicited version of the CREG / CGREG within within the same response set. Skipping of the unsolicited version was not handled correctly. This attempts to fix this issue.
2010-12-10atmodem: use macros for CLIP validityGustavo F. Padovan1-2/+4
2010-12-10atmodem: cleanup DBG messagesGustavo F. Padovan1-4/+4
2010-12-02atmodem: fix DBG messageGustavo F. Padovan1-3/+3
2010-11-29drivers: explicitly compare pointers to NULLLucas De Marchi19-91/+85
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-29atmodem: Forgot to reset sms data on removeDenis Kenzior1-0/+2
2010-11-22call-settings: Add support for +COLR in atmodemDenis Kenzior1-1/+53
2010-11-04atmodem: Remove at_pin_send_puk_cb, and use at_pin_send_cb instead.Marit Henriksen1-33/+1
When adding the use of pin event *EPEV also to at_pin_send_puk_cb, it becomes identical to at_pin_send_cb, and can be removed.
2010-10-29atmodem: Add support for IFX specific GPRS suspend notificationMarcel Holtmann1-2/+41
The Infineon modem informs about GPRS suspend cases. For example when GPRS is active and a call is made. If the status changes, inform the core about this change. This uses GPRS_SUSPENDED_UNKNOWN_CAUSE reason since the modem does not give a clear reason why GPRS was suspended. With this reason there is a delay before the status change gets send out as D-Bus signal.
2010-10-28atmodem: Add dummy handler for generic time zone updateMarcel Holtmann1-1/+22
2010-10-28atmodem: Time reporting on Infineon modem is IFX specificMarcel Holtmann1-4/+4
The time reporting via +CTZV and +CTZDST on the Infineon modem is not following the standard. So mark these clearly as IFX specific.
2010-10-28atmodem: Enable home zone reporting for IFX modemsMarcel Holtmann1-3/+26
For the Infineon modem the AT+XHOMEZR option can be set to get informed about home zone labels. If this information is available, it it still not properly used, but it shows up in the traces for reference.
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-25atmodem: Enable time zone reporting for Option modemsMarcel Holtmann1-1/+3
2010-10-24atmodem: Enable time update reporting for MBM modemsMarcel Holtmann1-6/+64
2010-10-22atmodem: Delay return from send_dtmfAndrzej Zaborowski1-2/+61
AT+VTS responds with an OK immediately, so add a wait in the driver before returning so that core knows when the tone has finished. Note that some modems actually do wait against 27.007, and other modems use a manufacturer specific AT command and the drivers will need to handle accordingly.
2010-10-22atmodem: Parse optional PLMN parameter of AT+COPS=? resultMarcel Holtmann1-1/+4
The Infineon modem adds an optional <plmn_list> parameter after the access technology parameter <AcT>. It is not always present, but when present it makes the operator listing fail. +COPS: (2,"T-Mobile D","TMO D","26201",0,0),(3,"E-Plus","E-Plus","26203",0,),(3,"Vodafone.de","Vodafone.de","26202",0,),(3,"o2 - de","o2 - de","26207",0,) Not all networks have this parameter and maybe only the home network has it anyway. And so far this feature seems to be Infineon specific, but just in case, parse the parameter if present to make sure the operator listing is available.
2010-10-21atmodem: Add support for IFX specific phonebook ready notificationMarcel Holtmann1-15/+50
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-10-20atmodem: Decode and report time information from networkMarcel Holtmann1-4/+29
2010-10-20atmodem: Add skeleton for time update reportingMarcel Holtmann1-3/+51
2010-10-18atmodem: Add SIM ready quirk for IFX when entering PUKMarcel Holtmann1-13/+47
For the Infineon modem, also the PUK entering needs to be extended with a quirk to wait for the SIM ready notification.
2010-10-15atmodem: Remove workaround for SIM ready notifier removalMarcel Holtmann1-24/+4
2010-10-15sim: Use enums for EF valid / invalidated statusDenis Kenzior1-6/+12
2010-10-15atmodem: returns file-status of SIM EF-filePetteri Tikander1-8/+13
2010-10-13atmodem: Send DTMF commands without quotesMarcel Holtmann1-4/+3
The AT+VTS command takes a single character and should not use quotes.
2010-09-29atmodem: Update IFX specific SIM ready checkingMarcel Holtmann1-2/+6
It seems that the XSIM notification doesn't really send SIM ready status. It sends ready to attach instead: > AT+CPIN="0000"\r < \r\nOK\r\n < \r\n+XLOCK: "PN",5,0,"PU",5,0,"PP",5,0,"PC",5,0,"PS",5,0\r\n < \r\n+XSIM: 7\r\n So either SIM ready or ready to attach is received more to the post_sim state.
2010-09-29atmodem: Remove quirk for Huawei voice call supportMarcel Holtmann1-4/+0
The Huawei voice call support has its own driver now. So this quirk is no longer needed.
2010-09-27atmodem: Some cleanups in voice call driverMarcel Holtmann1-6/+6
2010-09-25atmodem: Add special handling for Infineon SIM ready stateMarcel Holtmann1-16/+61
2010-09-24atmodem: Add support for Infineon CNMA without PDUMarcel Holtmann1-1/+2
Seems like the Infineon modem can't handle a provided PDU to the CNMA command. So just leave it out.