]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
NFC: Add NCI multiple targets support
authorIlan Elias <ilane@ti.com>
Wed, 18 Jan 2012 11:16:14 +0000 (13:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:32:29 +0000 (14:32 -0500)
commit019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5
tree593fc051bc96a40e48406f6cba883b1f95822422
parent25a1d9dc850b1bdcc4760eb625f0a67057f54d26
NFC: Add NCI multiple targets support

Add the ability to select between multiple targets in NCI.
If only one target is found, it will be auto-activated.
If more than one target is found, then DISCOVER_NTF will be
generated for each target, and the host should select one by
calling DISCOVER_SELECT_CMD. Then, the target will be activated.
If the activation fails, GENERIC_ERROR_NTF is generated.

Signed-off-by: Ilan Elias <ilane@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/nfc/nci.h
include/net/nfc/nci_core.h
net/nfc/nci/core.c
net/nfc/nci/ntf.c
net/nfc/nci/rsp.c