summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/pn544/i2c.c
diff options
context:
space:
mode:
authorChristophe Ricard2014-03-25 06:51:50 +0100
committerSamuel Ortiz2014-04-22 00:37:26 +0200
commit58e1e0a920358cd0dd7fdccc8cbcaa1d117078cf (patch)
treedb23840b06a3a7faebfc8ad7cb0f3004bab471de /drivers/nfc/pn544/i2c.c
parentNFC: hci: Add load_session HCI operand (diff)
downloadkernel-qcow2-linux-58e1e0a920358cd0dd7fdccc8cbcaa1d117078cf.tar.gz
kernel-qcow2-linux-58e1e0a920358cd0dd7fdccc8cbcaa1d117078cf.tar.xz
kernel-qcow2-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/i2c.c')
0 files changed, 0 insertions, 0 deletions