lib: Add details for reading security information command
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 2 Apr 2020 13:21:18 +0000 (15:21 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:48 +0000 (14:30 +0530)
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
lib/mgmt.h

index 9257af1..7ee1b07 100644 (file)
@@ -596,6 +596,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
@@ -908,6 +914,7 @@ static const char *mgmt_op[] = {
        "Set PHY Configuration",
        "Set Blocked Keys",
        "Set Wideband Speech",
+       "Read Security Information",
 };
 
 static const char *mgmt_ev[] = {