summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/sim.c
AgeCommit message (Collapse)AuthorFilesLines
2015-02-02atmodem: fix retries reporting from AT+CPINRCedric Jehasse1-1/+1
The retries array was not correctly filled in.
2015-02-02atmodem: Sierra modems should be polled after CPINCedric Jehasse1-0/+1
Sierra modem will return "CME ERROR: 14" when polled right after pin has been entered. Use the existing vendor quirk to handle this.
2014-07-08sim: query u-blox PIN retries with AT+UPINCNTPhilip Paeps1-0/+45
2014-06-30atmodem: Minor style fixupsDenis Kenzior1-0/+2
2014-06-30sim: query Quectel UC15 PIN retries with AT+QPINC?Philip Paeps1-0/+49
2013-07-22SIMCOM: add a quirk to fix crsm requestAnthony Viallard1-0/+1
2013-04-01sim: Add SIMCOM SIM card ready quirkAnthony Viallard1-0/+7
SIM is busy right after pin is entered. Use the quirk which add a CPIN? pooling check until having "CPIN: READY" answer.
2012-12-17sim: return from cpin when sim ready for telitChristopher Vogl1-1/+1
Especially for Telit HE910 it is not enough to wait for entering a PIN code. If we do not wait for #QSS: 3, subsequent commands, like +CMER will report SIM BUSY and the network registration atom will be removed as a consequence.
2012-12-04atmodem: remove pending idle callbacks at removalMingli Wu1-0/+1
If device probe and removal happen in short succession, it's possible that the idle handler registered in the probe function doesn't run before the device is removed. In this case, the idle handler needs to be unregistered so that it does not run and try to access the data that's destroyed during the removal.
2012-11-28atmodem: For IFX XSIMSTATE 7 should never occurDenis Kenzior1-1/+0
in the case of a PIN entry, XSIMSTATE of 7 (Ready to Attach) should never occur
2012-11-23atmodem: Always quote data in CRSM write operationsDenis Kenzior1-19/+4
2012-11-23atmodem: Support CRSM with pathsDenis Kenzior1-5/+35
For GET STATUS and READ BINARY variations, support appending of the optional path in the CRSM command
2012-11-22atmodem: Update sim driver to the new apiDenis Kenzior1-9/+23
2012-11-15atmodem: add PIN retry count for Alcatel modemsCedric Jehasse1-0/+43
2012-11-12atmodem: Poll SIM state after entering PINCedric Jehasse1-0/+2
Encountered a problem of CME ERROR 14: SIM busy on Alcatel and Huawei modem. The Huawei modem has a ^SIMST unsollicited sim state indication, but not all Huawei modems support this. So poll the SIM state, as was already done for ZTE modems.
2012-11-01sim: Fix the quirk handling of CPIN for WavecomHolger Hans Peter Freyther1-15/+9
The Wavecom Q2XXX support broke in commit 72ce19bf3e87b5e73c053f7ea1. This is because at_cpin_cb called decode_at_error with final and not with OK. This lead to an error being set in the error variable and the new code returns early when an error is set. The addition of the terminator in at_sim_probe for Wavecom broke in git commit ac524be99f8c72a2593e4ffcecad8beea7679e55 because terminators can not be added on cloned chats. Move the addition of the terminator from the atmodem to the wavecom plugin. Use the same terminator for Q2XXX and the normal Wavecom class. The WAVECOM terminator has been tested on a Q2XXX modem. Apply the CPIN quirk for both WAVECOM and WAVECOM_Q2XXX inside the sim.c file. Introduce needs_wavecom_sim_quirk to handle it for WAVECOM and WAVECOM_Q2XXX.
2012-08-22sim: return from CPIN when SIM unlocked for telitChristopher Vogl1-0/+40
Only return from CPIN when the modem informs that the SIM is ready
2012-08-16sim: Minor formatting nitpicksDenis Kenzior1-0/+2
2012-08-16sim: Fix warningDenis Kenzior1-1/+2
drivers/atmodem/sim.c: In function ‘at_pct_cb’: drivers/atmodem/sim.c:872:2: error: ISO C90 forbids mixed declarations and code
2012-08-16sim: support PIN retry counters for telit modemsAugust Mayer1-0/+61
2012-05-31sim: Quirk Wavecom Q2XXX CPIN behaviorPablo Neira Ayuso1-0/+3
2012-05-30sim: Handle quirky CPIN of Wavecom Q2XXXPablo Neira Ayuso1-1/+2
2012-05-25atmodem: Add support for Icera PIN retry countersMarcel Holtmann1-0/+46
2012-04-18atmodem: Poll SIM state after having entered PINGuillaume Zajac1-0/+29
We encountered the problem of CME ERROR 14: SIM busy on ZTE modems. ZTE modems don't use SIM notification to check SIM state. We poll SIM ready state before confirming PIN is entered.
2012-03-23sim: Don't use sprintf unnecessarilyDenis Kenzior1-5/+8
Using sprintf for a single quote is quite wasteful
2012-03-23sim: Fix up various coding style violationsDenis Kenzior1-23/+24
2012-03-23sim: Use quoted string with AT+CRSM data parameterNicolas Bertrand1-86/+41
Fix issue with some modems preventing to update elementary files (speedup, ZTE, huawei, MBM)
2012-02-22sim: Add SIMCOM specific PIN retry handlingRenat Zaripov1-0/+45
Use AT+SPIC for obtaining retries remaining for SIM PIN / PUK AT+SPIC Retries Remaining to Input SIM PIN/PUK +SPIC: <pin1>,<pin2>,<puk1>,<puk2> Parameters <pin1> Times remained to input chv1 <pin2> Times remained to input chv2 <puk1> Times remained to input puk1 <puk2> Times remained to input puk2
2012-01-11atmodem: Create new sim driver without EF entriesGuillaume Zajac1-0/+16
This driver will be used by CDMA modems to support PIN management and IMSI retreival. EF entries for CDMA modems cannot be implemented without manufacturers specifications.
2011-12-29atmodem: Add support for Option HSO specific PIN retry countersMarcel Holtmann1-0/+43
2011-10-10drivers: Update copyright informationMarcel Holtmann1-1/+1
2011-08-04speedup: Add support for retrieving PIN retry countersMarcel Holtmann1-0/+65
2011-08-04atmodem: Add Speedup vendor quirk to SIM file readingMarcel Holtmann1-0/+1
2011-08-03atmodem: Enable support for PIN retry counters of ZTE modemsMarcel Holtmann1-3/+45
2011-03-02atmodem: Add MBM vendor quirk for SIM record updateMiia Leinonen1-2/+24
2011-02-01atmodem: Add pin retry count support for mbmJeevaka Badrappan1-0/+46
2011-02-01atmodem: implement standard PIN retriesRémi Denis-Courmont1-0/+48
2011-01-29atmodem: fix memory leakJeevaka Badrappan1-0/+2
2011-01-29atmodem: remove NULL checkJeevaka Badrappan1-43/+3
2011-01-27atmodem: Add Sierra vendor quirk for SIM file readingMarcel Holtmann1-0/+1
2011-01-26atmodem: rename parameter according to headerLucas De Marchi1-2/+2
2011-01-19sim: Add a missing break statement just in caseDenis Kenzior1-0/+1
2011-01-19atmodem: add ifx support for pin retry countJeevaka Badrappan1-27/+69
2011-01-18atmodem: coding style fixJeevaka Badrappan1-1/+1
2011-01-12atmodem: M15 coding style fixJeevaka Badrappan1-2/+2
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