From: Marcel Holtmann Date: Mon, 12 Jan 2015 17:21:24 +0000 (-0800) Subject: Bluetooth: Add defintions for HCI Read Stored Link Key command X-Git-Tag: v4.14-rc1~5989^2~184^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb9627806ce898c436dc74252718e4a757b33bc3;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Johan Hedberg --- diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index d0bca31..91cd9d3 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -855,6 +855,17 @@ struct hci_cp_set_event_flt { #define HCI_CONN_SETUP_AUTO_OFF 0x01 #define HCI_CONN_SETUP_AUTO_ON 0x02 +#define HCI_OP_READ_STORED_LINK_KEY 0x0c0d +struct hci_cp_read_stored_link_key { + bdaddr_t bdaddr; + __u8 read_all; +} __packed; +struct hci_rp_read_stored_link_key { + __u8 status; + __u8 max_keys; + __u8 num_keys; +} __packed; + #define HCI_OP_DELETE_STORED_LINK_KEY 0x0c12 struct hci_cp_delete_stored_link_key { bdaddr_t bdaddr;