summaryrefslogtreecommitdiffstats
path: root/net/nfc/hci/llc.h
diff options
context:
space:
mode:
authorEric Lapuyade <eric.lapuyade@linux.intel.com>2012-09-13 17:10:48 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-09-25 00:17:25 +0200
commit8af00d48dc929442644bf68e9cd3d951d9697296 (patch)
tree4ed4b580674856dd204dccc6b5c769f5a262c00c /net/nfc/hci/llc.h
parentNFC: Add an LLC Core layer to HCI (diff)
downloadlinux-8af00d48dc929442644bf68e9cd3d951d9697296.tar.xz
linux-8af00d48dc929442644bf68e9cd3d951d9697296.zip
NFC: Add a nop (passthrough) llc module to llc core
This is a passthrough llc. It can be used by HCI drivers that don't need link layer control. HCI will then write directly to the driver, and driver will deliver incoming frames directly to HCI without any processing. Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/hci/llc.h')
-rw-r--r--net/nfc/hci/llc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/nfc/hci/llc.h b/net/nfc/hci/llc.h
index b2c7285b0309..acdd8d1bbae5 100644
--- a/net/nfc/hci/llc.h
+++ b/net/nfc/hci/llc.h
@@ -55,4 +55,6 @@ void *nfc_llc_get_data(struct nfc_llc *llc);
int nfc_llc_register(const char *name, struct nfc_llc_ops *ops);
void nfc_llc_unregister(const char *name);
+int nfc_llc_nop_register(void);
+
#endif /* __LOCAL_LLC_H_ */