summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorArron Wang <arron.wang@intel.com>2012-09-27 17:32:58 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2012-10-26 18:26:46 +0200
commite81076235b46189a776362ec5e4c6626bf1599ff (patch)
treef1623677ef0202907a94ef32ee52b928b9aa36f8 /include/net
parentc40d17401f89f575a6ff5774abaa0838398b820c (diff)
downloadblackbird-op-linux-e81076235b46189a776362ec5e4c6626bf1599ff.tar.gz
blackbird-op-linux-e81076235b46189a776362ec5e4c6626bf1599ff.zip
NFC: Implement HCI DEP send and receive data
And implement the corresponding hooks for pn544. Signed-off-by: Arron Wang <arron.wang@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/nfc/hci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/nfc/hci.h b/include/net/nfc/hci.h
index 6b2d75dc7c01..bc87b8f2d692 100644
--- a/include/net/nfc/hci.h
+++ b/include/net/nfc/hci.h
@@ -45,9 +45,10 @@ struct nfc_hci_ops {
struct nfc_target *target);
int (*complete_target_discovered) (struct nfc_hci_dev *hdev, u8 gate,
struct nfc_target *target);
- int (*data_exchange) (struct nfc_hci_dev *hdev,
+ int (*im_transceive) (struct nfc_hci_dev *hdev,
struct nfc_target *target, struct sk_buff *skb,
data_exchange_cb_t cb, void *cb_context);
+ int (*tm_send)(struct nfc_hci_dev *hdev, struct sk_buff *skb);
int (*check_presence)(struct nfc_hci_dev *hdev,
struct nfc_target *target);
void (*event_received)(struct nfc_hci_dev *hdev, u8 gate, u8 event,
OpenPOWER on IntegriCloud