Commit f595cf12 authored by Bongsu Jeon's avatar Bongsu Jeon Committed by Jakub Kicinski

selftests: Add nci suite

This is the NCI test suite. It tests the NFC/NCI module using virtual NCI
device. Test cases consist of making the virtual NCI device on/off and
controlling the device's polling for NCI1.0 and NCI2.0 version.
Signed-off-by: default avatarBongsu Jeon <bongsu.jeon@samsung.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e624e6c3
...@@ -12540,6 +12540,14 @@ F: include/net/nfc/ ...@@ -12540,6 +12540,14 @@ F: include/net/nfc/
F: include/uapi/linux/nfc.h F: include/uapi/linux/nfc.h
F: net/nfc/ F: net/nfc/
NFC VIRTUAL NCI DEVICE DRIVER
M: Bongsu Jeon <bongsu.jeon@samsung.com>
L: netdev@vger.kernel.org
L: linux-nfc@lists.01.org (moderated for non-subscribers)
S: Supported
F: drivers/nfc/virtual_ncidev.c
F: tools/testing/selftests/nci/
NFS, SUNRPC, AND LOCKD CLIENTS NFS, SUNRPC, AND LOCKD CLIENTS
M: Trond Myklebust <trond.myklebust@hammerspace.com> M: Trond Myklebust <trond.myklebust@hammerspace.com>
M: Anna Schumaker <anna.schumaker@netapp.com> M: Anna Schumaker <anna.schumaker@netapp.com>
......
...@@ -34,6 +34,7 @@ TARGETS += memory-hotplug ...@@ -34,6 +34,7 @@ TARGETS += memory-hotplug
TARGETS += mincore TARGETS += mincore
TARGETS += mount TARGETS += mount
TARGETS += mqueue TARGETS += mqueue
TARGETS += nci
TARGETS += net TARGETS += net
TARGETS += net/forwarding TARGETS += net/forwarding
TARGETS += net/mptcp TARGETS += net/mptcp
......
# SPDX-License-Identifier: GPL-2.0
CFLAGS += -Wl,-no-as-needed -Wall
LDFLAGS += -lpthread
TEST_GEN_PROGS := nci_dev
include ../lib.mk
CONFIG_NFC=y
CONFIG_NFC_NCI=y
CONFIG_NFC_VIRTUAL_NCI=y
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment