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)
commit394566bf1e3747f5b75869b822e642ab46f51d7b
tree9f5d2d19cd14c0889079d549931f0253f328d870
parent4a37682c6b59c8888acf93117362d761c5923a69
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