]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: nci: Add support for proprietary RF Protocols
authorChristophe Ricard <christophe.ricard@gmail.com>
Sat, 13 Sep 2014 08:28:49 +0000 (10:28 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 24 Sep 2014 00:02:24 +0000 (02:02 +0200)
commitd3697a48bee080d3867b06ee9c133447968c6098
tree1576b2a01cfa325e3860a6d4f0445a6944d1469f
parent68ac6d823e9e73132961d87919cce8cf8a068f11
NFC: nci: Add support for proprietary RF Protocols

In NFC Forum NCI specification, some RF Protocol values are
reserved for proprietary use (from 0x80 to 0xfe).
Some CLF vendor may need to use one value within this range
for specific technology.
Furthermore, some CLF may not becompliant with NFC Froum NCI
specification 2.0 and therefore will not support RF Protocol
value 0x06 for PROTOCOL_T5T as mention in a draft specification
and in a recent push.

Adding get_rf_protocol handle to the nci_ops structure will
help to set the correct technology to target.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfcb/st21nfcb.c
include/net/nfc/nci_core.h
net/nfc/nci/ntf.c