aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-02-28 10:45:45 -0500
committerMarcel Holtmann <marcel@holtmann.org>2014-02-28 10:56:42 -0500
commita7139edd28215623e80c998edd34b3f750c5efc6 (patch)
tree33a575c9e7fd98063bb663f0eaba41d1af20c281
parentb1cd5fd937e692276ac6c085684afb16a4e6e798 (diff)
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 <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r--include/net/bluetooth/hci.h3
1 files changed, 3 insertions, 0 deletions
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 {
1182 __u8 filter_dup; 1182 __u8 filter_dup;
1183} __packed; 1183} __packed;
1184 1184
1185#define HCI_LE_USE_PEER_ADDR 0x00
1186#define HCI_LE_USE_WHITELIST 0x01
1187
1185#define HCI_OP_LE_CREATE_CONN 0x200d 1188#define HCI_OP_LE_CREATE_CONN 0x200d
1186struct hci_cp_le_create_conn { 1189struct hci_cp_le_create_conn {
1187 __le16 scan_interval; 1190 __le16 scan_interval;