]> 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)
commitb163febba937b05339995e9086919e9d9d1803e1
tree9f5d2d19cd14c0889079d549931f0253f328d870
parent01e05906ffc03d64ec4b9816c25f49ee3d9e5358
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