From: Johan Hedberg Date: Fri, 28 Feb 2014 15:45:45 +0000 (+0200) Subject: Bluetooth: Add defines for LE initiator filter policy X-Git-Tag: next-20140306~61^2~9 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a7139edd28215623e80c998edd34b3f750c5efc6;p=karo-tx-linux.git Bluetooth: Add defines for LE initiator filter policy This patch adds defines for the initiator filter policy parameter values of the HCI_LE_Create_Connection command. They will be used in a subsequent patch to check whether we should have a timeout for the connection attempt or not. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 0740fee39c73..439b4ebf9644 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -1182,6 +1182,9 @@ struct hci_cp_le_set_scan_enable { __u8 filter_dup; } __packed; +#define HCI_LE_USE_PEER_ADDR 0x00 +#define HCI_LE_USE_WHITELIST 0x01 + #define HCI_OP_LE_CREATE_CONN 0x200d struct hci_cp_le_create_conn { __le16 scan_interval;