diff options
author | Ankit Navik <ankit.p.navik@intel.com> | 2018-08-17 03:59:19 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2018-09-27 12:38:52 +0200 |
commit | b950aa88638c52a013504f025e0b8f99bf2dc26e (patch) | |
tree | 6720ad676fa76732c1d854899d06adc17419552d /include/net/bluetooth/hci.h | |
parent | Bluetooth: hci_qca: Add poweroff support during hci down for wcn3990 (diff) | |
download | linux-b950aa88638c52a013504f025e0b8f99bf2dc26e.tar.xz linux-b950aa88638c52a013504f025e0b8f99bf2dc26e.zip |
Bluetooth: Add definitions and track LE resolve list modification
Add the definitions for adding entries to the LE resolve list and
removing entries from the LE resolve list. When the LE resolve list
gets changed via HCI commands make sure that the internal storage of
the resolve list entries gets updated.
Signed-off-by: Ankit Navik <ankit.p.navik@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/hci.h')
-rw-r--r-- | include/net/bluetooth/hci.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index cdd9f1fe7cfa..c36dc1e20556 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -1517,6 +1517,20 @@ struct hci_cp_le_write_def_data_len { __le16 tx_time; } __packed; +#define HCI_OP_LE_ADD_TO_RESOLV_LIST 0x2027 +struct hci_cp_le_add_to_resolv_list { + __u8 bdaddr_type; + bdaddr_t bdaddr; + __u8 peer_irk[16]; + __u8 local_irk[16]; +} __packed; + +#define HCI_OP_LE_DEL_FROM_RESOLV_LIST 0x2028 +struct hci_cp_le_del_from_resolv_list { + __u8 bdaddr_type; + bdaddr_t bdaddr; +} __packed; + #define HCI_OP_LE_CLEAR_RESOLV_LIST 0x2029 #define HCI_OP_LE_READ_RESOLV_LIST_SIZE 0x202a |