summaryrefslogtreecommitdiff
path: root/lib/mgmt.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2020-04-02 15:21:18 +0200
committerMarcel Holtmann <marcel@holtmann.org>2020-04-02 15:21:18 +0200
commit50ac810291cd2d1e93cf40e9aa07658c6c0083bc (patch)
tree0447e3838e75f8008d7b4593d05306417bfe54d5 /lib/mgmt.h
parent47b5609d0b2ab37d5a472978649216eb02badda0 (diff)
downloadbluez-50ac810291cd2d1e93cf40e9aa07658c6c0083bc.tar.gz
lib: Add details for reading security information command
Diffstat (limited to 'lib/mgmt.h')
-rw-r--r--lib/mgmt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/mgmt.h b/lib/mgmt.h
index 7520c7ae9..e46e08ba8 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -586,6 +586,12 @@ struct mgmt_cp_set_phy_confguration {
#define MGMT_OP_SET_BLOCKED_KEYS 0x0046
+#define MGMT_OP_READ_SECURITY_INFO 0x0048
+struct mgmt_rp_read_security_info {
+ uint16_t sec_len;
+ uint8_t sec[0];
+} __packed;
+
#define HCI_BLOCKED_KEY_TYPE_LINKKEY 0x00
#define HCI_BLOCKED_KEY_TYPE_LTK 0x01
#define HCI_BLOCKED_KEY_TYPE_IRK 0x02
@@ -898,6 +904,7 @@ static const char *mgmt_op[] = {
"Set PHY Configuration",
"Set Blocked Keys",
"Set Wideband Speech",
+ "Read Security Information",
};
static const char *mgmt_ev[] = {