diff options
author | Miao-chen Chou <[email protected]> | 2021-09-09 14:10:23 -0700 |
---|---|---|
committer | Marcel Holtmann <[email protected]> | 2021-09-10 09:27:13 +0200 |
commit | 5031ffcc79b81776ac8f7f8b1a585aed8818e3d1 (patch) | |
tree | 18345b9a0686eb451ec79a5bc6bdeb3f6901f9cb /tools/perf/scripts/python/libxed.py | |
parent | 9682d36c21196c4019d84e77eae3921128927ce2 (diff) |
Bluetooth: Keep MSFT ext info throughout a hci_dev's life cycle
This splits the msft_do_{open/close} to msft_do_{open/close} and
msft_{register/unregister}. With this change it is possible to retain
the MSFT extension info irrespective of controller power on/off state.
This helps bluetoothd to report correct 'supported features' of the
controller to the D-Bus clients event if the controller is off. It also
re-reads the MSFT info upon every msft_do_open().
The following test steps were performed.
1. Boot the test device and verify the MSFT support debug log in syslog.
2. Power off the controller and read the 'supported features', power on
and read again.
3. Restart the bluetoothd and verify the 'supported features' value.
Signed-off-by: Miao-chen Chou <[email protected]>
Reviewed-by: Abhishek Pandit-Subedi <[email protected]>
Reviewed-by: Archie Pusaka <[email protected]>
Reviewed-by: Alain Michaud <[email protected]>
Signed-off-by: Manish Mandlik <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions