]> 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)
commit6ee2fb5752c8810cff8c5284f3ebe89e1dad544b
tree6cf939501bc6c51d46649a51d8cd45c3e9dea015
parentffab77addd472aab2f0f2d7a9310ced9cab432a2
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