提交 a7139edd 编写于 作者: J Johan Hedberg 提交者: Marcel Holtmann

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: NJohan Hedberg <johan.hedberg@intel.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 b1cd5fd9
...@@ -1182,6 +1182,9 @@ struct hci_cp_le_set_scan_enable { ...@@ -1182,6 +1182,9 @@ struct hci_cp_le_set_scan_enable {
__u8 filter_dup; __u8 filter_dup;
} __packed; } __packed;
#define HCI_LE_USE_PEER_ADDR 0x00
#define HCI_LE_USE_WHITELIST 0x01
#define HCI_OP_LE_CREATE_CONN 0x200d #define HCI_OP_LE_CREATE_CONN 0x200d
struct hci_cp_le_create_conn { struct hci_cp_le_create_conn {
__le16 scan_interval; __le16 scan_interval;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册