]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: llcp: Service Name Lookup netlink interface
authorThierry Escande <thierry.escande@linux.intel.com>
Fri, 15 Feb 2013 09:43:06 +0000 (10:43 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 10 Mar 2013 22:14:54 +0000 (23:14 +0100)
commitf6b990c3c8eaf0bef52f0ef7fb25b8dfc22ebeb3
tree0888a7ff7367bc5efd1b5e1388bc59aab308451c
parent129173c1974b5976758376fda2813751c16b8d78
NFC: llcp: Service Name Lookup netlink interface

This adds a netlink interface for service name lookup support.
Multiple URIs can be passed nested into the NFC_ATTR_LLC_SDP attribute
using the NFC_CMD_LLC_SDREQ netlink command.
When the SNL reply is received, a NFC_EVENT_LLC_SDRES event is sent to
the user space. URI and SAP tuples are passed back, nested into
NFC_ATTR_LLC_SDP attribute.

Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/uapi/linux/nfc.h
net/nfc/llcp/commands.c
net/nfc/llcp/llcp.c
net/nfc/llcp/llcp.h
net/nfc/netlink.c
net/nfc/nfc.h