summaryrefslogtreecommitdiff
path: root/drivers/nfc/st21nfcb/st21nfcb.h
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2015-06-06 14:16:47 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2015-06-09 01:34:24 +0300
commitdbd70b4046c8cdb7c8f5ffea9bdcae1a35e24df4 (patch)
treed3f19c7f8ac9233a74a442676ca0a3e2ba56a3a4 /drivers/nfc/st21nfcb/st21nfcb.h
parentcc1417eb24f154ed7a7cd8aa7018b80fa120b732 (diff)
downloadlinux-dbd70b4046c8cdb7c8f5ffea9bdcae1a35e24df4.tar.xz
NFC: st21nfcb: Add support for nci proprietary commands
On st21nfcb, nci proprietary commands are available to run specific chip operations (for example: power management) Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/st21nfcb/st21nfcb.h')
-rw-r--r--drivers/nfc/st21nfcb/st21nfcb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/nfc/st21nfcb/st21nfcb.h b/drivers/nfc/st21nfcb/st21nfcb.h
index 5ef8a58c9839..7c12d9dd03d0 100644
--- a/drivers/nfc/st21nfcb/st21nfcb.h
+++ b/drivers/nfc/st21nfcb/st21nfcb.h
@@ -25,6 +25,12 @@
/* Define private flags: */
#define ST21NFCB_NCI_RUNNING 1
+#define ST21NFCB_NCI_CORE_PROP 0x01
+
+struct nci_mode_set_rsp {
+ u8 status;
+} __packed;
+
struct st21nfcb_nci_info {
struct llt_ndlc *ndlc;
unsigned long flags;