]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: advmon offload MSFT handle filter enablement
authorArchie Pusaka <apusaka@chromium.org>
Fri, 22 Jan 2021 08:36:15 +0000 (16:36 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 25 Jan 2021 15:07:36 +0000 (16:07 +0100)
commit640a9f09ddd97085c01215d22685983fc92a5378
tree9f5d2d19cd14c0889079d549931f0253f328d870
parentca89d1a992395a67b2010bdb3ce5c04e3da6c5d2
Bluetooth: advmon offload MSFT handle filter enablement

Implements the feature to disable/enable the filter used for
advertising monitor on MSFT controller, effectively have the same
effect as "remove all monitors" and "add all previously removed
monitors".

This feature would be needed when suspending, where we would not want
to get packets from anything outside the allowlist. Note that the
integration with the suspending part is not included in this patch.

Signed-off-by: Archie Pusaka <apusaka@chromium.org>
Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Reviewed-by: Yun-Hao Chung <howardchung@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/msft.c
net/bluetooth/msft.h