From 50ac810291cd2d1e93cf40e9aa07658c6c0083bc Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 2 Apr 2020 15:21:18 +0200 Subject: [PATCH] lib: Add details for reading security information command --- lib/mgmt.h | 7 +++++++ 1 file changed, 7 insertions(+) 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[] = { -- 2.47.3