NFC: Add HCI/SHDLC support to let driver check for tag presence
Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
d4ccb13280
commit
1676f75159
@@ -39,6 +39,8 @@ struct nfc_hci_ops {
|
||||
int (*data_exchange) (struct nfc_hci_dev *hdev,
|
||||
struct nfc_target *target,
|
||||
struct sk_buff *skb, struct sk_buff **res_skb);
|
||||
int (*check_presence)(struct nfc_hci_dev *hdev,
|
||||
struct nfc_target *target);
|
||||
};
|
||||
|
||||
#define NFC_HCI_MAX_CUSTOM_GATES 15
|
||||
|
@@ -35,6 +35,8 @@ struct nfc_shdlc_ops {
|
||||
int (*data_exchange) (struct nfc_shdlc *shdlc,
|
||||
struct nfc_target *target,
|
||||
struct sk_buff *skb, struct sk_buff **res_skb);
|
||||
int (*check_presence)(struct nfc_shdlc *shdlc,
|
||||
struct nfc_target *target);
|
||||
};
|
||||
|
||||
enum shdlc_state {
|
||||
|
Reference in New Issue
Block a user