aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux/nfc.h
diff options
context:
space:
mode:
authorThierry Escande <thierry.escande@linux.intel.com>2013-04-02 10:25:16 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-04-11 16:28:59 +0200
commit064f370c5fd982e1264c03f5b704e00f5e41eb36 (patch)
tree636fc8d9c23ef114e7bf702f0d49ac53786c7b2e /include/uapi/linux/nfc.h
parentabd18d43302ae0e214d020c842b34e706cc3778e (diff)
NFC: llcp: Add support in getsockopt for RW, LTO, and MIU remote parameters
Useful for LLCP validation tests. Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/uapi/linux/nfc.h')
-rw-r--r--include/uapi/linux/nfc.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/uapi/linux/nfc.h b/include/uapi/linux/nfc.h
index 7440bc81a04..7c6f627a717 100644
--- a/include/uapi/linux/nfc.h
+++ b/include/uapi/linux/nfc.h
@@ -233,7 +233,10 @@ struct sockaddr_nfc_llcp {
#define NFC_LLCP_DIRECTION_TX 0x01
/* socket option names */
-#define NFC_LLCP_RW 0
-#define NFC_LLCP_MIUX 1
+#define NFC_LLCP_RW 0
+#define NFC_LLCP_MIUX 1
+#define NFC_LLCP_REMOTE_MIU 2
+#define NFC_LLCP_REMOTE_LTO 3
+#define NFC_LLCP_REMOTE_RW 4
#endif /*__LINUX_NFC_H */