diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-01-27 01:18:14 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-01-28 00:03:29 +0100 |
commit | 615b524aca0bff52ce6654ddf26546546eb02e93 (patch) | |
tree | 11a9c76a55d8617978208b5ffbbbcb733442563b /net/nfc/hci/hci.h | |
parent | af77522320aa0e5b4b52dce615ad067d92e15fbf (diff) | |
download | linux-615b524aca0bff52ce6654ddf26546546eb02e93.tar.bz2 |
NFC: hci: Reference every pipe information according to notification
We update the tracked pipes status when receiving HCI commands.
Also we forward HCI errors and we reply to any HCI command, even though
we don't support it.
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/hci/hci.h')
-rw-r--r-- | net/nfc/hci/hci.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/nfc/hci/hci.h b/net/nfc/hci/hci.h index c3d2e2c1394c..c1278bd0fc5e 100644 --- a/net/nfc/hci/hci.h +++ b/net/nfc/hci/hci.h @@ -65,6 +65,14 @@ struct hci_create_pipe_resp { u8 pipe; } __packed; +struct hci_delete_pipe_noti { + u8 pipe; +} __packed; + +struct hci_all_pipe_cleared_noti { + u8 host; +} __packed; + #define NFC_HCI_FRAGMENT 0x7f #define HCP_HEADER(type, instr) ((((type) & 0x03) << 6) | ((instr) & 0x3f)) |