summaryrefslogtreecommitdiff
path: root/include/linux/nfc.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2011-08-19 15:47:11 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-08-24 14:41:44 -0400
commite8753043f9fbabffbf087c7f4b514c50ef89541e (patch)
tree2c4b382a21500c228005a43e48134d39fdcccbe8 /include/linux/nfc.h
parent4e0d8cc1006b889909a87f824943bad9a56358e8 (diff)
downloadlinux-3.10-e8753043f9fbabffbf087c7f4b514c50ef89541e.tar.gz
linux-3.10-e8753043f9fbabffbf087c7f4b514c50ef89541e.tar.bz2
linux-3.10-e8753043f9fbabffbf087c7f4b514c50ef89541e.zip
NFC: Reserve tx head and tail room
We can have the NFC core layer allocating the tx head and tail room for the drivers and avoid 1 or more SKBs copy on write on the Tx path. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/nfc.h')
-rw-r--r--include/linux/nfc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfc.h b/include/linux/nfc.h
index 330a4c5db58..c525e0b5876 100644
--- a/include/linux/nfc.h
+++ b/include/linux/nfc.h
@@ -123,4 +123,6 @@ struct sockaddr_nfc {
#define NFC_SOCKPROTO_RAW 0
#define NFC_SOCKPROTO_MAX 1
+#define NFC_HEADER_SIZE 1
+
#endif /*__LINUX_NFC_H */