summaryrefslogtreecommitdiffstats
path: root/net/nfc/digital.h
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@animalcreek.com>2014-01-22 00:23:59 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2014-02-16 23:49:53 +0100
commita381d4828625f526d290b296a829f8549b14ce49 (patch)
treec4b3b6c4df55c7a7660f0e48557409a2f900f583 /net/nfc/digital.h
parentNFC: Add ISO/IEC 15693 header definitions (diff)
downloadlinux-a381d4828625f526d290b296a829f8549b14ce49.tar.xz
linux-a381d4828625f526d290b296a829f8549b14ce49.zip
NFC: digital: Add Digital Layer support for ISO/IEC 15693
Add support for ISO/IEC 15693 to the digital layer. The code currently uses single-slot anticollision only since the digital layer infrastructure only supports one tag per adapter (making it pointless to do 16-slot anticollision). The code uses two new framing types: 'NFC_DIGITAL_FRAMING_ISO15693_INVENTORY' and 'NFC_DIGITAL_FRAMING_ISO15693_TVT'. The former is used to tell the driver to prepare for an Inventory command and the ensuing anticollision sequence. The latter is used to tell the driver that the anticollision sequence is over and to prepare for non-inventory commands. Signed-off-by: Mark A. Greer <mgreer@animalcreek.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/digital.h')
-rw-r--r--net/nfc/digital.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/nfc/digital.h b/net/nfc/digital.h
index 08b29b55ea63..3c757dc7d44f 100644
--- a/net/nfc/digital.h
+++ b/net/nfc/digital.h
@@ -72,6 +72,7 @@ void digital_poll_next_tech(struct nfc_digital_dev *ddev);
int digital_in_send_sens_req(struct nfc_digital_dev *ddev, u8 rf_tech);
int digital_in_send_sensf_req(struct nfc_digital_dev *ddev, u8 rf_tech);
+int digital_in_send_iso15693_inv_req(struct nfc_digital_dev *ddev, u8 rf_tech);
int digital_target_found(struct nfc_digital_dev *ddev,
struct nfc_target *target, u8 protocol);