UPSTREAM: tools: btmgmt: support quality experiment feature command
This patch adds the "exp-quality" command to btmgmt to enable/disable
the Bluetooth quality report.
(cherry picked from commit e0ea1c9c0d72fd4ee8a182098b23a3f859d81d35)
BUG=b:170175384
TEST=Use btmgmt as follows
$ btmgmt
[mgmt]# select 0
Selected index 0
[hci0]# exp-quality on
Quality Report feature successfully set
/var/log/messages should display
INFO kernel: Bluetooth: btintel_set_debug_features()
hci0: set debug features: trace_enable 0x02 mask 0x7f
[hci0]# exp-quality off
Quality Report feature successfully set
/var/log/messages should display
INFO kernel: Bluetooth: btintel_reset_debug_features()
hci0: reset debug features: trace_enable 0x00 mask 0x00
Cq-Depend: chromium:3045649
Change-Id: I216a31a690c44b10fbf8eeb8ffad7fc014d07888
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/bluez/+/3047541
Reviewed-by: Sean Paul <[email protected]>
Reviewed-by: Miao-chen Chou <[email protected]>
Tested-by: Shyh-In Hwang <[email protected]>
Commit-Queue: Shyh-In Hwang <[email protected]>
1 file changed