Bluetooth: advmon offload MSFT add monitor
authorArchie Pusaka <apusaka@chromium.org>
Fri, 22 Jan 2021 08:36:12 +0000 (16:36 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 25 Jan 2021 15:07:36 +0000 (16:07 +0100)
commita2a4dedf88ab2f807a7ca90947d686816b430f97
treebe1a8792e8d632c699da1b3b76d472c7942a150f
parentb4a221ea8a1f890b50838ef389d016c7ff280abc
Bluetooth: advmon offload MSFT add monitor

Enables advertising monitor offloading to the controller, if MSFT
extension is supported. The kernel won't adjust the monitor parameters
to match what the controller supports - that is the user space's
responsibility.

This patch only manages the addition of monitors. Monitor removal is
going to be handled by another patch.

Signed-off-by: Archie Pusaka <apusaka@chromium.org>
Reviewed-by: Manish Mandlik <mmandlik@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>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/mgmt.c
net/bluetooth/msft.c
net/bluetooth/msft.h