diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2014-03-25 09:51:49 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-04-22 02:37:26 +0400 |
commit | e240bc36125691b0e18e70407c2d18ca6117c2f5 (patch) | |
tree | 158d0492b86259ebd6d0dd351d92a874da74761d /include/net/nfc | |
parent | d330905db608ff416a241e97c7f3b91103bfd827 (diff) |
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')
-rw-r--r-- | include/net/nfc/hci.h | 1 |
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 |