NFC: Implement NCI dep_link_up and dep_link_down
authorIlan Elias <ilane@ti.com>
Wed, 15 Aug 2012 08:46:24 +0000 (11:46 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Sep 2012 22:17:23 +0000 (00:17 +0200)
commit767f19ae698e535f308663c48245fa951abebe20
tree98c9353741a371d9c812f81c577fa36e0c4e5451
parentac206838403411e617dbe0e7df1891ee957f1f9a
NFC: Implement NCI dep_link_up and dep_link_down

During NFC-DEP target activation, store the remote
general bytes to be used later in dep_link_up.
When dep_link_up is called, activate the NFC-DEP target,
and forward the remote general bytes.
When dep_link_down is called, deactivate the target.

Signed-off-by: Ilan Elias <ilane@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/net/nfc/nci_core.h
include/net/nfc/nfc.h
net/nfc/nci/core.c
net/nfc/nci/ntf.c