mbox series

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

Message ID 20200911210713.4066465-1-abhishekpandit@chromium.org
Headers show
Series Bluetooth: Emit events for suspend/resume | expand

Message

Abhishek Pandit-Subedi Sept. 11, 2020, 9:07 p.m. UTC
Hi Marcel,

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(-)

Comments

Marcel Holtmann Sept. 13, 2020, 7:57 a.m. UTC | #1
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