Diff between e94fc26ea2e57b139ed2dbe0f5cd2e86d6b91b1f and 85edf04e322f796b56f8ff5119cb5307424eaf57

Changed Files

File Additions Deletions Status
lib/mgmt.h +6 -0 modified

Full Patch

diff --git a/lib/mgmt.h b/lib/mgmt.h
index 06d54b3..da8ff97 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -353,6 +353,12 @@ struct mgmt_irk_info {
 	uint8_t val[16];
 } __packed;
 
+#define MGMT_OP_SET_PRIVACY		0x002F
+struct mgmt_cp_set_privacy {
+	uint8_t privacy;
+	uint8_t irk[16];
+} __packed;
+
 #define MGMT_OP_LOAD_IRKS		0x0030
 struct mgmt_cp_load_irks {
 	uint16_t irk_count;