Re: [PATCH v2 0/3] Bluetooth: Emit events for suspend/resume

From: Marcel Holtmann
Date: Sun Sep 13 2020 - 03:57:34 EST


Hi Abhishek,

> This series adds the suspend/resume events suggested in
> https://patchwork.kernel.org/patch/11771001/.
>
> I have tested it with some userspace changes that monitors the
> controller resumed event to trigger audio device reconnection and
> verified that the events are correctly emitted.
>
> Patch for btmon changes: https://patchwork.kernel.org/patch/11743863/
>
> Please take a look.
> Abhishek
>
> Changes in v2:
> - Added suspend/resume events to list of mgmt events
>
> Abhishek Pandit-Subedi (3):
> Bluetooth: Add mgmt suspend and resume events
> Bluetooth: Add suspend reason for device disconnect
> Bluetooth: Emit controller suspend and resume events
>
> include/net/bluetooth/hci_core.h | 6 +++
> include/net/bluetooth/mgmt.h | 16 +++++++
> net/bluetooth/hci_core.c | 26 +++++++++++-
> net/bluetooth/hci_event.c | 73 ++++++++++++++++++++++++++++++++
> net/bluetooth/mgmt.c | 30 +++++++++++++
> 5 files changed, 150 insertions(+), 1 deletion(-)

All 3 patches have been applied to bluetooth-next tree.

Regards

Marcel