diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2014-03-25 06:51:50 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-04-22 00:37:26 +0200 |
commit | 58e1e0a920358cd0dd7fdccc8cbcaa1d117078cf (patch) | |
tree | db23840b06a3a7faebfc8ad7cb0f3004bab471de /drivers/nfc/pn544 | |
parent | e240bc36125691b0e18e70407c2d18ca6117c2f5 (diff) | |
download | linux-58e1e0a920358cd0dd7fdccc8cbcaa1d117078cf.tar.gz linux-58e1e0a920358cd0dd7fdccc8cbcaa1d117078cf.tar.bz2 linux-58e1e0a920358cd0dd7fdccc8cbcaa1d117078cf.zip |
NFC: st21nfca: Implement load_session HCI hook
This implementation rely on the ST21NFCA_DEVICE_MGNT_GATE and
ST21NFCA_DM_GETINFO proprietary gates commands.
First we are retrieving a pipe list available on the CLF with the
ST21NFCA_DM_GETINFO_PIPE_LIST parameter. A gate<->pipe table match
is done with ST21NFCA_DM_GETINFO_PIPE_INFO for each pipe.
If the pipe is created and open, we fill st21nfca_gates table.
If the pipe is create but closed or is not created we keep the gate
with NFC_HCI_INVALID_PIPE.
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/pn544')
0 files changed, 0 insertions, 0 deletions