diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-01-12 12:21:24 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-01-12 14:53:54 -0500 |
commit | cb9627806ce898c436dc74252718e4a757b33bc3 (patch) | |
tree | aea8b0c4f5b0887cd96a3b96b7102769edcd3636 /include/net/bluetooth | |
parent | 41e91e71f61ead454c72b68d7c5cf13a2651e992 (diff) |
Bluetooth: Add defintions for HCI Read Stored Link Key command
This patch adds the missing commmand structure and command complete
structure for the HCI Read Store Link Key command.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index d0bca316b43b..91cd9d302cd0 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -855,6 +855,17 @@ struct hci_cp_set_event_flt { | |||
855 | #define HCI_CONN_SETUP_AUTO_OFF 0x01 | 855 | #define HCI_CONN_SETUP_AUTO_OFF 0x01 |
856 | #define HCI_CONN_SETUP_AUTO_ON 0x02 | 856 | #define HCI_CONN_SETUP_AUTO_ON 0x02 |
857 | 857 | ||
858 | #define HCI_OP_READ_STORED_LINK_KEY 0x0c0d | ||
859 | struct hci_cp_read_stored_link_key { | ||
860 | bdaddr_t bdaddr; | ||
861 | __u8 read_all; | ||
862 | } __packed; | ||
863 | struct hci_rp_read_stored_link_key { | ||
864 | __u8 status; | ||
865 | __u8 max_keys; | ||
866 | __u8 num_keys; | ||
867 | } __packed; | ||
868 | |||
858 | #define HCI_OP_DELETE_STORED_LINK_KEY 0x0c12 | 869 | #define HCI_OP_DELETE_STORED_LINK_KEY 0x0c12 |
859 | struct hci_cp_delete_stored_link_key { | 870 | struct hci_cp_delete_stored_link_key { |
860 | bdaddr_t bdaddr; | 871 | bdaddr_t bdaddr; |