2020-03-30 07:02:42

by Yun-hao Chung

[permalink] [raw]
Subject: [Bluez PATCH v1] monitor: Fix missing setting string

Add wideband speech and phy-configuration to setting string
---

monitor/control.c | 2 +-
monitor/packet.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/monitor/control.c b/monitor/control.c
index 1e9054db3..790890fb4 100644
--- a/monitor/control.c
+++ b/monitor/control.c
@@ -200,7 +200,7 @@ static const char *settings_str[] = {
"powered", "connectable", "fast-connectable", "discoverable",
"bondable", "link-security", "ssp", "br/edr", "hs", "le",
"advertising", "secure-conn", "debug-keys", "privacy",
- "configuration", "static-addr",
+ "configuration", "static-addr", "phy-configuration", "wide-band-speech",
};

static void mgmt_new_settings(uint16_t len, const void *buf)
diff --git a/monitor/packet.c b/monitor/packet.c
index 994ae6341..3d32563e6 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -11668,6 +11668,7 @@ static const struct bitfield_data mgmt_settings_table[] = {
{ 14, "Controller Configuration"},
{ 15, "Static Address" },
{ 16, "PHY Configuration" },
+ { 17, "Wideband Speech" },
{ }
};

--
2.26.0.rc2.310.g2932bb562d-goog