mirror of
https://github.com/torvalds/linux.git
synced 2024-11-04 11:04:38 +00:00
59ee2361c9
This implements the mechanism used to send commands to the driver in initiator mode through in_send_cmd(). Commands are serialized and sent to the driver by using a work item on the system workqueue. Responses are handled asynchronously by another work item. Once the digital stack receives the response through the command_complete callback, the next command is sent to the driver. This also implements the polling mechanism. It's handled by a work item cycling on all supported protocols. The start poll command for a given protocol is sent to the driver using the mechanism described above. The process continues until a peer is discovered or stop_poll is called. This patch implements the poll function for NFC-A that sends a SENS_REQ command and waits for the SENS_RES response. Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
14 lines
325 B
Makefile
14 lines
325 B
Makefile
#
|
|
# Makefile for the Linux NFC subsystem.
|
|
#
|
|
|
|
obj-$(CONFIG_NFC) += nfc.o
|
|
obj-$(CONFIG_NFC_NCI) += nci/
|
|
obj-$(CONFIG_NFC_HCI) += hci/
|
|
obj-$(CONFIG_NFC_DIGITAL) += nfc_digital.o
|
|
|
|
nfc-objs := core.o netlink.o af_nfc.o rawsock.o llcp_core.o llcp_commands.o \
|
|
llcp_sock.o
|
|
|
|
nfc_digital-objs := digital_core.o digital_technology.o
|