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

From: Abhishek Pandit-Subedi
Date: Fri Sep 11 2020 - 17:07:43 EST



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

--
2.28.0.618.gf4bc123cb7-goog