Skip to content

NFC updates for 3.6

Samuel Ortiz linux-wireless 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest33 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/33NFC: Prepare asynchronous error management for driver and shdlcinclude/net/nfc/hci.h net/nfc/hci/core.c net/nfc/hci/shdlc.c+21 -80 replies
2/33NFC: Removed addressed shdlc TODOsnet/nfc/hci/shdlc.c+0 -110 replies
3/33NFC: Handle SHDLC RSET frames from an SHDLC connected chipnet/nfc/hci/shdlc.c+4 -40 replies
4/33NFC: Remove an impossible HCI error casenet/nfc/hci/core.c+0 -100 replies
5/33NFC: Implement HCP reaggregation allocation error casenet/nfc/hci/core.c+10 -50 replies
6/33NFC: Changed HCI cmd execution completion result to std linux errnonet/nfc/hci/command.c net/nfc/hci/core.c net/nfc/hci/hci.h+23 -220 replies
7/33NFC: Driver failure APIinclude/net/nfc/nfc.h net/nfc/core.c+12 -00 replies
8/33NFC: Factorize HCI cmd completionnet/nfc/hci/core.c+16 -110 replies
9/33NFC: Implement HCI driver or internal error managementnet/nfc/hci/core.c+11 -40 replies
10/33NFC: Core must test the device polling state inside the device locknet/nfc/core.c+7 -20 replies
11/33NFC: nfc_targets_found() should accept zero target foundnet/nfc/core.c+13 -60 replies
12/33NFC: nfc_driver_failure() implementationnet/nfc/core.c+2 -60 replies
13/33NFC: Error management documentationDocumentation/nfc/nfc-hci.txt+33 -00 replies
14/33NFC: update PN544 HCI driver state when opened/closeddrivers/nfc/pn544_hci.c+5 -00 replies
15/33NFC: Allow HCI driver to pre-open pipes to some gatesdrivers/nfc/pn544_hci.c include/net/nfc/hci.h net/nfc/hci/command.c +2 more+47 -370 replies
16/33NFC: Add modules alias for NFC socketsnet/nfc/core.c+1 -00 replies
17/33NFC: Add netlink module alias for NFCnet/nfc/core.c+3 -00 replies
18/33NFC: Update LLCP socket target index when getting a connectionnet/nfc/llcp/llcp.c+1 -00 replies
19/33NFC: Fix LLCP getname socket opnet/nfc/llcp/sock.c+7 -40 replies
20/33NFC: Build LLCP general bytes upon requestnet/nfc/llcp/llcp.c+17 -150 replies
21/33NFC: Close listening LLCP sockets when the device is gonenet/nfc/llcp/llcp.c+8 -30 replies
22/33NFC: Release LLCP SAP when the owner is releasednet/nfc/llcp/llcp.c net/nfc/llcp/llcp.h net/nfc/llcp/sock.c+11 -140 replies
23/33NFC: Forbid LLCP service name reusingnet/nfc/llcp/sock.c+3 -10 replies
24/33NFC: Forbid SSAP binding to a not well known LLCP servicenet/nfc/llcp/llcp.c+5 -170 replies
25/33NFC: LLCP late bindingnet/nfc/llcp/llcp.c net/nfc/llcp/llcp.h+166 -770 replies
26/33NFC: Handle LLCP Disconnected Mode framesnet/nfc/llcp/llcp.c+44 -00 replies
27/33NFC: Remove warning from nfc_llcp_local_putnet/nfc/llcp/llcp.c+0 -20 replies
28/33NFC: Do not return EBUSY when stopping a poll that's already stoppednet/nfc/netlink.c+9 -00 replies
29/33NFC: Dereference LLCP bind socket address after checking for it to be NULLnet/nfc/llcp/sock.c+2 -20 replies
30/33NFC: Add initial Sony RC-S360 support to pn533drivers/nfc/pn533.c+181 -380 replies
31/33NFC: Use communicate thru only for PaSoRi when trying to read Felica tagsdrivers/nfc/pn533.c+11 -120 replies
32/33NFC: Add ISO 14443 type B protocoldrivers/nfc/nfcwilink.c drivers/nfc/pn533.c drivers/nfc/pn544_hci.c +4 more+28 -180 replies
33/33NFC: Check for llcp_sock and its device from llcp_sock_getnamenet/nfc/llcp/sock.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/33] NFC updates for 3.6

This is the second (and probably last) NFC pull request for 3.6. Here are the interesting bits:

- A better error management for the HCI stack.
- An LLCP "late" binding implementation for a better NFC SAP usage. SAPs are now reserved only when there's a client for it.
- Support for Sony RC-S360 (a.k.a. PaSoRi) pn533 based dongle. We can read and write NFC tags and also establish a p2p link with this dongle now.
- A few LLCP fixes.

You can either apply those patches manually or pull them from here:

git://git.kernel.org/pub/scm/linux/kernel/git/sameo/nfc-3.0.git tags/nfc-next-3.6-2

Eric Lapuyade (15):
NFC: Prepare asynchronous error management for driver and shdlc
NFC: Removed addressed shdlc TODOs
NFC: Handle SHDLC RSET frames from an SHDLC connected chip
NFC: Remove an impossible HCI error case
NFC: Implement HCP reaggregation allocation error case
NFC: Changed HCI cmd execution completion result to std linux errno
NFC: Driver failure API
NFC: Factorize HCI cmd completion
NFC: Implement HCI driver or internal error management
NFC: Core must test the device polling state inside the device lock
NFC: nfc_targets_found() should accept zero target found
NFC: nfc_driver_failure() implementation
NFC: Error management documentation
NFC: update PN544 HCI driver state when opened/closed
NFC: Allow HCI driver to pre-open pipes to some gates

Samuel Ortiz (18):
NFC: Add modules alias for NFC sockets
NFC: Add netlink module alias for NFC
NFC: Update LLCP socket target index when getting a connection
NFC: Fix LLCP getname socket op
NFC: Build LLCP general bytes upon request
NFC: Close listening LLCP sockets when the device is gone
NFC: Release LLCP SAP when the owner is released
NFC: Forbid LLCP service name reusing
NFC: Forbid SSAP binding to a not well known LLCP service
NFC: LLCP late binding
NFC: Handle LLCP Disconnected Mode frames
NFC: Remove warning from nfc_llcp_local_put
NFC: Do not return EBUSY when stopping a poll that's already stopped
NFC: Dereference LLCP bind socket address after checking for it to be
NULL
NFC: Add initial Sony RC-S360 support to pn533
NFC: Use communicate thru only for PaSoRi when trying to read Felica
tags
NFC: Add ISO 14443 type B protocol
NFC: Check for llcp_sock and its device from llcp_sock_getname

 Documentation/nfc/nfc-hci.txt |   33 ++++
 drivers/nfc/nfcwilink.c       |    7 +-
 drivers/nfc/pn533.c           |  224 ++++++++++++++++++++++-----
 drivers/nfc/pn544_hci.c       |   37 +++--
 include/linux/nfc.h           |   14 +-
 include/net/nfc/hci.h         |   19 ++-
 include/net/nfc/nfc.h         |    2 +
 net/nfc/core.c                |   38 ++++-
 net/nfc/hci/command.c         |   26 ++--
 net/nfc/hci/core.c            |  104 ++++++++-----
 net/nfc/hci/hci.h             |   12 +-
 net/nfc/hci/shdlc.c           |   38 ++---
 net/nfc/llcp/llcp.c           |  342 +++++++++++++++++++++++++++--------------
 net/nfc/llcp/llcp.h           |    5 +
 net/nfc/llcp/sock.c           |   31 +++-
 net/nfc/nci/core.c            |    5 +-
 net/nfc/nci/ntf.c             |    5 +-
 net/nfc/netlink.c             |    9 ++
 18 files changed, 663 insertions(+), 288 deletions(-)
Signature · 1 line
1.7.10