]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Add RAW socket type support for SOCKPROTO_RAW
authorHiren Tandel <hirent@marvell.com>
Mon, 5 May 2014 10:43:31 +0000 (19:43 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 19 May 2014 22:06:04 +0000 (00:06 +0200)
commit6ff9377e0950c7c1be2ee71e98886efd779b7eb3
treebb0021acf67dcb66957f0482cb89f894d8fa77f0
parentbcb7beddaa7545211fc77bd5bca3848612e76cb7
NFC: Add RAW socket type support for SOCKPROTO_RAW

This allows for a more generic NFC sniffing by using SOCKPROTO_RAW
SOCK_RAW to read RAW NFC frames. This is for sniffing anything but LLCP
(HCI, NCI, etc...).

Signed-off-by: Hiren Tandel <hirent@marvell.com>
Signed-off-by: Rahul Tank <rahult@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/net/nfc/nfc.h
include/uapi/linux/nfc.h
net/nfc/llcp_commands.c
net/nfc/llcp_core.c
net/nfc/nfc.h
net/nfc/rawsock.c