]> git.baikalelectronics.ru Git - 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)
commite96615ca595b6203613f260b428fa2a39eccf1ab
tree593fc051bc96a40e48406f6cba883b1f95822422
parent35f1435a2109742778b9cd6e773cd8c98ed9ce6c
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