summaryrefslogtreecommitdiff
path: root/monitor/packet.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-11-05 12:03:23 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-11-09 14:45:51 -0800
commit72c562e4e47f3bf59a91d776a396c76df2e99ddc (patch)
treebb4fb8b3cf051d2a33a0494d6603f4d3679cd55d /monitor/packet.c
parent37be50d6793eaf6cfbc72b7dd69e3d57b468db2c (diff)
downloadbluez-72c562e4e47f3bf59a91d776a396c76df2e99ddc.tar.gz
monitor: Add support for Device Privacy Mode flag
This adds proper decoding for Device Privacy Mode flag: @ MGMT Command: Set Device... (0x0050) plen 11 {0x0001} LE Address: BC:9A:78:56:34:12 (OUI BC-9A-78) Current Flags: 0x00000002 Device Privacy Mode @ MGMT Event: Device Flags... (0x002a) plen 15 {0x0002} LE Address: BC:9A:78:56:34:12 (OUI BC-9A-78) Supported Flags: 0x00000003 Remote Wakeup Device Privacy Mode Current Flags: 0x00000002 Device Privacy Mode
Diffstat (limited to 'monitor/packet.c')
-rw-r--r--monitor/packet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/monitor/packet.c b/monitor/packet.c
index 9030f2493..71f711dc5 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -13378,7 +13378,8 @@ static void mgmt_set_exp_feature_rsp(const void *data, uint16_t size)
}
static const struct bitfield_data mgmt_added_device_flags_table[] = {
- { 0, "Remote Wakeup" },
+ { 0, "Remote Wakeup" },
+ { 1, "Device Privacy Mode" },
{ }
};