All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] Query retry counters
@ 2011-01-10 21:02 Lucas De Marchi
  2011-01-10 21:02 ` [PATCH v3 1/6] atmodem: check for VENDOR_HUAWEI on sim atom Lucas De Marchi
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Lucas De Marchi @ 2011-01-10 21:02 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1092 bytes --]

Diff from previous version:
 - memset(retries, -1, sizeof(retries)) works, but it's just because of luck in
   2's complement logic. Use a loop instead.
 - "^CPIN" command is exclusive to HUAWEI. So change "xcpin" prefix to
   "huawei_cpin" and passs OFONO_VENDOR_HUAWEI quirk on sim creation. This change
   needed 2 more patches (the first ones) in order to make it work.
 - space cleanup
 - use memcmp to compare the pin_retries array instead of a loop

Lucas De Marchi (6):
  atmodem: check for VENDOR_HUAWEI on sim atom
  huawei: use VENDOR_HUAWEI quirk on sim creation
  include: add method to query pin Retries
  sim: query remaining pin retries
  doc: detail Retries property
  atmodem: implement query for remaining pin retries

 doc/sim-api.txt       |   12 ++++++
 drivers/atmodem/sim.c |   95 ++++++++++++++++++++++++++++++++++++++++++++++++-
 include/sim.h         |    5 +++
 plugins/huawei.c      |    2 +-
 src/sim.c             |   90 ++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 202 insertions(+), 2 deletions(-)

-- 
1.7.3.5


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-01-10 21:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10 21:02 [PATCH v3 0/6] Query retry counters Lucas De Marchi
2011-01-10 21:02 ` [PATCH v3 1/6] atmodem: check for VENDOR_HUAWEI on sim atom Lucas De Marchi
2011-01-10 21:02 ` [PATCH v3 2/6] huawei: use VENDOR_HUAWEI quirk on sim creation Lucas De Marchi
2011-01-10 21:02 ` [PATCH v3 3/6] include: add method to query pin Retries Lucas De Marchi
2011-01-10 21:02 ` [PATCH v3 4/6] sim: query remaining pin retries Lucas De Marchi
2011-01-10 21:02 ` [PATCH v3 5/6] doc: detail Retries property Lucas De Marchi
2011-01-10 21:02 ` [PATCH v3 6/6] atmodem: implement query for remaining pin retries Lucas De Marchi
2011-01-10 21:44   ` Denis Kenzior
2011-01-10 21:43 ` [PATCH v3 0/6] Query retry counters Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.