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)
commitd9b8d8e19b073096d3609bbd60f82148d128b555
tree0888a7ff7367bc5efd1b5e1388bc59aab308451c
parente0ae7bac06ccb90bb0cf7a3362730b48c7d7f1a8
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