NFC: nci: Add NFCEE discover support
[firefly-linux-kernel-4.4.55.git] / include / net / nfc / nci_core.h
index 5e508741f208b2ba189e3b01cc4bd29a10498d3b..31ad795aa4b51d8b72cec5150fc181df32d7185c 100644 (file)
@@ -100,6 +100,8 @@ struct nci_conn_info {
        struct sk_buff *rx_skb;
 };
 
+#define NCI_INVALID_CONN_ID 0x80
+
 /* NCI Core structures */
 struct nci_dev {
        struct nfc_dev          *nfc_dev;
@@ -182,6 +184,8 @@ void nci_unregister_device(struct nci_dev *ndev);
 int nci_recv_frame(struct nci_dev *ndev, struct sk_buff *skb);
 int nci_set_config(struct nci_dev *ndev, __u8 id, size_t len, __u8 *val);
 
+int nci_nfcee_discover(struct nci_dev *ndev, u8 action);
+
 static inline struct sk_buff *nci_skb_alloc(struct nci_dev *ndev,
                                            unsigned int len,
                                            gfp_t how)