OSDN Git Service

NFC: Introduce vendor commands structures
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 13 Oct 2014 23:42:23 +0000 (01:42 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 8 Jun 2015 23:20:19 +0000 (01:20 +0200)
commit8115dd5905318afcde713726064ec052b7d488cf
treeb4504be9f866bb932f3fe5e4f39b96b0f22f3674
parent41fc2f50a7a2bfef1deaf78107a4d7b5bf4bd7a5
NFC: Introduce vendor commands structures

Together with inline routines to associate a vendor commands
array with an NFC device.

Vendor commands allow vendors to implement their very specific
operations from driver code instead of adding new stack ops
for non NFC generic commands.
Vendors need to select their own unique IDs and use that as a
namespace for defining sub commands.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/net/nfc/hci.h
include/net/nfc/nci_core.h
include/net/nfc/nfc.h