]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Extend netlink interface for LTO, RW, and MIUX parameters support
authorThierry Escande <thierry.escande@linux.intel.com>
Wed, 17 Oct 2012 12:43:39 +0000 (14:43 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 28 Oct 2012 23:25:11 +0000 (00:25 +0100)
commit279566c696e9f664184aa1a892fd310c148efc85
tree6cf939501bc6c51d46649a51d8cd45c3e9dea015
parentbf958e8a0ff757bcba326590571c0485ea3a2f8e
NFC: Extend netlink interface for LTO, RW, and MIUX parameters support

NFC_CMD_LLC_GET_PARAMS: request LTO, RW, and MIUX parameters for a device

NFC_CMD_LLC_SET_PARAMS: set one or more of LTO, RW, and MIUX parameters for
a device. LTO must be set before the link is up otherwise -EINPROGRESS is
returned. RW and MIUX can be set at anytime and will be passed in subsequent
CONNECT and CC messages. If one of the passed parameters is wrong none is
set and -EINVAL is returned.

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