Bluetooth: Add BT LE discovery feature
[platform/kernel/linux-starfive.git] / include / net / bluetooth / hci_core.h
index bc08a01..95ef549 100644 (file)
@@ -520,6 +520,9 @@ struct hci_dev {
        wait_queue_head_t       suspend_wait_q;
        DECLARE_BITMAP(suspend_tasks, __SUSPEND_NUM_TASKS);
 
+#ifdef TIZEN_BT
+       struct discovery_state  le_discovery;
+#endif
        struct hci_conn_hash    conn_hash;
 
        struct list_head        mgmt_pending;
@@ -1149,6 +1152,9 @@ static inline int hci_conn_hash_lookup_rssi_count(struct hci_dev *hdev)
 
        return count;
 }
+
+bool hci_le_discovery_active(struct hci_dev *hdev);
+void hci_le_discovery_set_state(struct hci_dev *hdev, int state);
 #endif
 
 int hci_disconnect(struct hci_conn *conn, __u8 reason);
@@ -1944,6 +1950,7 @@ void mgmt_raw_rssi_response(struct hci_dev *hdev,
 void mgmt_enable_rssi_cc(struct hci_dev *hdev, void *response, u8 status);
 int mgmt_device_name_update(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 *name,
                u8 name_len);
+void mgmt_le_discovering(struct hci_dev *hdev, u8 discovering);
 #endif
 
 u8 hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max, u16 latency,