Hi Marcel,
This series adds the suspend/resume events suggested in
https://patchwork.kernel.org/patch/11663455/.
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.
Please take a look.
Abhishek
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 | 28 ++++++++++++
5 files changed, 148 insertions(+), 1 deletion(-)
--
2.28.0.rc0.142.g3c755180ce-goog
Hi Marcel,
Please review this patch. A newer series for how the controller resume
event will be used is available at
https://patchwork.kernel.org/project/bluetooth/list/?series=334811
Besides usage in bluez, these events will also make debugging and
testing suspend/resume for Bluez easier (i.e. finding spurious wakes
due to BT in suspend stress tests, asserting that wakeup from peers
occurred as expected in tests)
Abhishek
On Tue, Aug 4, 2020 at 10:11 AM Abhishek Pandit-Subedi
<[email protected]> wrote:
>
> Hi,
>
> Gentle reminder that this is waiting for feedback. Related userspace
> changes are here to see how we plan on using it:
> https://patchwork.kernel.org/project/bluetooth/list/?series=325777
>
> Thanks
> Abhishek
>
> On Tue, Jul 28, 2020 at 6:42 PM Abhishek Pandit-Subedi
> <[email protected]> wrote:
> >
> >
> > Hi Marcel,
> >
> > This series adds the suspend/resume events suggested in
> > https://patchwork.kernel.org/patch/11663455/.
> >
> > 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.
> >
> > Please take a look.
> > Abhishek
> >
> >
> > 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 | 28 ++++++++++++
> > 5 files changed, 148 insertions(+), 1 deletion(-)
> >
> > --
> > 2.28.0.rc0.142.g3c755180ce-goog
> >
Hi Abhishek,
> This series adds the suspend/resume events suggested in
> https://patchwork.kernel.org/patch/11663455/.
>
> 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.
>
> Please take a look.
> Abhishek
>
>
> 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 | 28 ++++++++++++
> 5 files changed, 148 insertions(+), 1 deletion(-)
can you please re-send this series. Unfortunately it seems I only have the cover letter, but lost the patches.
Regards
Marcel