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)
commit57be1f3f3ec1ccab6432615ca161c4c9ece2a2aa
treebb0021acf67dcb66957f0482cb89f894d8fa77f0
parentc79d9f9ef86683824c195b093106222ff0611c10
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