summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-02-22 10:53:25 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-03-10 22:20:05 +0100
commit26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 (patch)
tree7958aad8711d1d7eaacb6aa2e4f9c0aae7a2da87 /include/uapi
parente4306bec47fc02178c612879c848d3a6544424dd (diff)
downloadop-kernel-dev-26fd76cab2e61cedc5c25f7151fb31b57ddc53c7.zip
op-kernel-dev-26fd76cab2e61cedc5c25f7151fb31b57ddc53c7.tar.gz
NFC: llcp: Implement socket options
Some LLCP services (e.g. the validation ones) require some control over the LLCP link parameters like the receive window (RW) or the MIU extension (MIUX). This can only be done through socket options. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/nfc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/nfc.h b/include/uapi/linux/nfc.h
index 7969f46..855630f 100644
--- a/include/uapi/linux/nfc.h
+++ b/include/uapi/linux/nfc.h
@@ -220,4 +220,8 @@ struct sockaddr_nfc_llcp {
#define NFC_LLCP_DIRECTION_RX 0x00
#define NFC_LLCP_DIRECTION_TX 0x01
+/* socket option names */
+#define NFC_LLCP_RW 0
+#define NFC_LLCP_MIUX 1
+
#endif /*__LINUX_NFC_H */
OpenPOWER on IntegriCloud