summaryrefslogtreecommitdiffstats
path: root/include/net/nfc/hci.h
diff options
context:
space:
mode:
authorChristophe Ricard2014-03-25 06:51:49 +0100
committerSamuel Ortiz2014-04-22 00:37:26 +0200
commite240bc36125691b0e18e70407c2d18ca6117c2f5 (patch)
tree158d0492b86259ebd6d0dd351d92a874da74761d /include/net/nfc/hci.h
parentNFC: hci: Extend command execution delay (diff)
downloadkernel-qcow2-linux-e240bc36125691b0e18e70407c2d18ca6117c2f5.tar.gz
kernel-qcow2-linux-e240bc36125691b0e18e70407c2d18ca6117c2f5.tar.xz
kernel-qcow2-linux-e240bc36125691b0e18e70407c2d18ca6117c2f5.zip
NFC: hci: Add load_session HCI operand
load_session allows a CLF to restore the gate <-> pipe table from some proprietary location. The main advantage to add this function is to reduce the memory wear by running pipe creation (and storing) only once. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net/nfc/hci.h')
-rw-r--r--include/net/nfc/hci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/nfc/hci.h b/include/net/nfc/hci.h
index 03c4650b548c..61286db54388 100644
--- a/include/net/nfc/hci.h
+++ b/include/net/nfc/hci.h
@@ -27,6 +27,7 @@ struct nfc_hci_dev;
struct nfc_hci_ops {
int (*open) (struct nfc_hci_dev *hdev);
void (*close) (struct nfc_hci_dev *hdev);
+ int (*load_session) (struct nfc_hci_dev *hdev);
int (*hci_ready) (struct nfc_hci_dev *hdev);
/*
* xmit must always send the complete buffer before