summaryrefslogtreecommitdiffstats
path: root/include/net/nfc
diff options
context:
space:
mode:
authorEric Lapuyade2012-09-13 17:11:37 +0200
committerSamuel Ortiz2012-09-25 00:17:25 +0200
commit4a61cd6687fc6348d08724676d34e38160d6cf9b (patch)
tree9bfcd0af9ad2e7c085c0542f2565467659823789 /include/net/nfc
parentNFC: Add a nop (passthrough) llc module to llc core (diff)
downloadkernel-qcow2-linux-4a61cd6687fc6348d08724676d34e38160d6cf9b.tar.gz
kernel-qcow2-linux-4a61cd6687fc6348d08724676d34e38160d6cf9b.tar.xz
kernel-qcow2-linux-4a61cd6687fc6348d08724676d34e38160d6cf9b.zip
NFC: Add an shdlc llc module to llc core
This is used by HCI drivers such as the one for the pn544 which require communications between HCI and the chip to use shdlc. Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net/nfc')
-rw-r--r--include/net/nfc/llc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/nfc/llc.h b/include/net/nfc/llc.h
index 146e053f91e7..400ab7ae749d 100644
--- a/include/net/nfc/llc.h
+++ b/include/net/nfc/llc.h
@@ -25,6 +25,7 @@
#include <linux/skbuff.h>
#define LLC_NOP_NAME "nop"
+#define LLC_SHDLC_NAME "shdlc"
typedef void (*rcv_to_hci_t) (struct nfc_hci_dev *hdev, struct sk_buff *skb);
typedef int (*xmit_to_drv_t) (struct nfc_hci_dev *hdev, struct sk_buff *skb);