NFC updates for 3.6
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest29 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/29 | NFC: Take a reference on the LLCP local pointer when creating a socketnet/ net/ net/ | +40 | 0 replies | |
| 2/29 | NFC: Socket linked listnet/ net/ net/ | +158 | 0 replies | |
| 3/29 | NFC: Move LLCP receiver window value to socket structurenet/ net/ net/ +1 more | +55 | 0 replies | |
| 4/29 | NFC: Move LLCP MIU extension value to socket structurenet/ net/ net/ +1 more | +9 | 0 replies | |
| 5/29 | NFC: LLCP's MIUX is 10 bytes long, not 7net/ | +2 | 0 replies | |
| 6/29 | NFC: Export LLCP general bytes getterinclude/ net/ | +9 | 0 replies | |
| 7/29 | NFC: Add target mode protocols to the polling loop startup routinedrivers/ drivers/ include/ +9 more | +77 | 0 replies | |
| 8/29 | NFC: Implement pn533 target mode polling loopdrivers/ | +104 | 0 replies | |
| 9/29 | NFC: Add target mode activation netlink eventdrivers/ include/ include/ +3 more | +136 | 0 replies | |
| 10/29 | NFC: Set the NFC device RF mode appropriatelyinclude/ include/ net/ | +12 | 0 replies | |
| 11/29 | NFC: Introduce target mode tx opsdrivers/ include/ net/ +2 more | +34 | 0 replies | |
| 12/29 | NFC: Introduce target mode rx data callbackinclude/ net/ net/ +1 more | +35 | 0 replies | |
| 13/29 | NFC: Implement the pn533 target mode data fetching routinedrivers/ | +80 | 0 replies | |
| 14/29 | NFC: Implement the pn533 target mode Tx opdrivers/ | +73 | 0 replies | |
| 15/29 | NFC: Don't hold a NULL connecting LLCP socket locknet/ | +3 | 0 replies | |
| 16/29 | NFC: Call the DEP link down ops even when in target modenet/ | +0 | 0 replies | |
| 17/29 | NFC: Reset poll mod list when stopping pn533 polldrivers/ | +2 | 0 replies | |
| 18/29 | NFC: Unregister device if pn533 initial configuration failsdrivers/ | +5 | 0 replies | |
| 19/29 | NFC: Configure pn533 RF timingsdrivers/ | +25 | 0 replies | |
| 20/29 | NFC: Add passive initiator data for pn533drivers/ | +18 | 0 replies | |
| 21/29 | NFC: Add type A and type F parameters for pn533 target modedrivers/ | +24 | 0 replies | |
| 22/29 | NFC: Implement pn533 polling loopdrivers/ | +161 | 0 replies | |
| 23/29 | NFC: Requeue lost LLCP framesnet/ | +55 | 0 replies | |
| 24/29 | NFC: Send a receiver ready frame only to reply to an I framenet/ | +1 | 0 replies | |
| 25/29 | NFC: Switch to Initiator mode when getting NFC_ATTR_PROTOCOLSnet/ | +2 | 0 replies | |
| 26/29 | NFC: Destroy LLCP timout workqueue when releasing the linknet/ | +1 | 0 replies | |
| 27/29 | NFC: Set the proper baud rate when trying to activate pn533 targetsdrivers/ | +23 | 0 replies | |
| 28/29 | NFC: Convert pn533 from semaphore to mutexdrivers/ | +7 | 0 replies | |
| 29/29 | NFC: Monitor pn533 target modedrivers/ | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/29] NFC updates for 3.6
Hi John,
This is the first NFC patchset for 3.6. With this one we have:
- Peer to peer target mode support. Peer devices can now detect and activate us as targets, not only as initiators.
- An LLCP socket handling code simplification. It's simpler and race free now.
- LLCP fixes. Attending the NFC plugfest helped fixed a few LLCP bugs.
- At the NFC plugfest I also found some issues with the pn533 radio and digital settings. This should be improved now.
- The pn533 also gets a few improvements, like a semaphore to mutex conversion and a proper polling loop implementation (alternating between target and initiator modes).
You can either apply those patches manually, or pull it from here:
git://git.kernel.org/pub/scm/linux/kernel/git/sameo/nfc-3.0.git tags/nfc-next-3.6-1
Thanks in advance for merging this code.
Samuel Ortiz (29):
NFC: Take a reference on the LLCP local pointer when creating a
socket
NFC: Socket linked list
NFC: Move LLCP receiver window value to socket structure
NFC: Move LLCP MIU extension value to socket structure
NFC: LLCP's MIUX is 10 bytes long, not 7
NFC: Export LLCP general bytes getter
NFC: Add target mode protocols to the polling loop startup routine
NFC: Implement pn533 target mode polling loop
NFC: Add target mode activation netlink event
NFC: Set the NFC device RF mode appropriately
NFC: Introduce target mode tx ops
NFC: Introduce target mode rx data callback
NFC: Implement the pn533 target mode data fetching routine
NFC: Implement the pn533 target mode Tx op
NFC: Don't hold a NULL connecting LLCP socket lock
NFC: Call the DEP link down ops even when in target mode
NFC: Reset poll mod list when stopping pn533 poll
NFC: Unregister device if pn533 initial configuration fails
NFC: Configure pn533 RF timings
NFC: Add passive initiator data for pn533
NFC: Add type A and type F parameters for pn533 target mode
NFC: Implement pn533 polling loop
NFC: Requeue lost LLCP frames
NFC: Send a receiver ready frame only to reply to an I frame
NFC: Switch to Initiator mode when getting NFC_ATTR_PROTOCOLS
NFC: Destroy LLCP timout workqueue when releasing the link
NFC: Set the proper baud rate when trying to activate pn533 targets
NFC: Convert pn533 from semaphore to mutex
NFC: Monitor pn533 target mode
drivers/nfc/pn533.c | 662 ++++++++++++++++++++++++++++++++++++++--------- drivers/nfc/pn544_hci.c | 10 +- include/linux/nfc.h | 12 + include/net/nfc/hci.h | 3 +- include/net/nfc/nfc.h | 14 +- include/net/nfc/shdlc.h | 3 +- net/nfc/core.c | 119 +++++++--- net/nfc/hci/core.c | 13 +- net/nfc/hci/shdlc.c | 6 +- net/nfc/llcp/commands.c | 54 +++- net/nfc/llcp/llcp.c | 421 ++++++++++++++++++------------ net/nfc/llcp/llcp.h | 26 ++- net/nfc/llcp/sock.c | 47 ++-- net/nfc/nci/core.c | 15 +- net/nfc/netlink.c | 81 ++++++- net/nfc/nfc.h | 12 +- 16 files changed, 1106 insertions(+), 392 deletions(-)
Signature · 1 line
1.7.9.1