NFC: Add target mode protocols to the polling loop startup routine
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
@@ -31,7 +31,8 @@ struct nfc_hci_ops {
|
||||
void (*close) (struct nfc_hci_dev *hdev);
|
||||
int (*hci_ready) (struct nfc_hci_dev *hdev);
|
||||
int (*xmit) (struct nfc_hci_dev *hdev, struct sk_buff *skb);
|
||||
int (*start_poll) (struct nfc_hci_dev *hdev, u32 protocols);
|
||||
int (*start_poll) (struct nfc_hci_dev *hdev,
|
||||
u32 im_protocols, u32 tm_protocols);
|
||||
int (*target_from_gate) (struct nfc_hci_dev *hdev, u8 gate,
|
||||
struct nfc_target *target);
|
||||
int (*complete_target_discovered) (struct nfc_hci_dev *hdev, u8 gate,
|
||||
|
@@ -53,7 +53,8 @@ struct nfc_target;
|
||||
struct nfc_ops {
|
||||
int (*dev_up)(struct nfc_dev *dev);
|
||||
int (*dev_down)(struct nfc_dev *dev);
|
||||
int (*start_poll)(struct nfc_dev *dev, u32 protocols);
|
||||
int (*start_poll)(struct nfc_dev *dev,
|
||||
u32 im_protocols, u32 tm_protocols);
|
||||
void (*stop_poll)(struct nfc_dev *dev);
|
||||
int (*dep_link_up)(struct nfc_dev *dev, struct nfc_target *target,
|
||||
u8 comm_mode, u8 *gb, size_t gb_len);
|
||||
|
@@ -27,7 +27,8 @@ struct nfc_shdlc_ops {
|
||||
void (*close) (struct nfc_shdlc *shdlc);
|
||||
int (*hci_ready) (struct nfc_shdlc *shdlc);
|
||||
int (*xmit) (struct nfc_shdlc *shdlc, struct sk_buff *skb);
|
||||
int (*start_poll) (struct nfc_shdlc *shdlc, u32 protocols);
|
||||
int (*start_poll) (struct nfc_shdlc *shdlc,
|
||||
u32 im_protocols, u32 tm_protocols);
|
||||
int (*target_from_gate) (struct nfc_shdlc *shdlc, u8 gate,
|
||||
struct nfc_target *target);
|
||||
int (*complete_target_discovered) (struct nfc_shdlc *shdlc, u8 gate,
|
||||
|
Reference in New Issue
Block a user