Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH 0/2] NFC: Add deactivate target functionality
@ 2017-06-16  3:34 Mark Greer
  2017-06-16  3:34 ` [PATCH 1/2] NFC: digital: Abort cmd when deactivating target Mark Greer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mark Greer @ 2017-06-16  3:34 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-wireless, linux-nfc, Mark Greer

There is currently no way for userspace to deactivate an active target.
Since the target is active, the adapter cannot be powered down which
wastes wastes power when the target has been read and isn't needed
anymore (but remains within range).  To solve this, add a way to
deactivate a currently active target which will then allow the adapter
to be powered down.

To be fully operational, this requires companion patches for neard.
Those patches will be submitted shortly.

Mark Greer (2):
  NFC: digital: Abort cmd when deactivating target
  NFC: Add NFC_CMD_DEACTIVATE_TARGET support

 include/uapi/linux/nfc.h |  2 ++
 net/nfc/digital_core.c   |  1 +
 net/nfc/netlink.c        | 29 +++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)

-- 
2.13.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-09 23:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-16  3:34 [PATCH 0/2] NFC: Add deactivate target functionality Mark Greer
2017-06-16  3:34 ` [PATCH 1/2] NFC: digital: Abort cmd when deactivating target Mark Greer
2017-06-16  3:34 ` [PATCH 2/2] NFC: Add NFC_CMD_DEACTIVATE_TARGET support Mark Greer
2017-11-09 23:05 ` [PATCH 0/2] NFC: Add deactivate target functionality Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox