]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Send AdvMonitor Dev Found for all matched devices
authorManish Mandlik <mmandlik@google.com>
Sat, 12 Mar 2022 10:08:59 +0000 (02:08 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Mar 2022 16:12:08 +0000 (17:12 +0100)
commit4dd1156c060a4171c39c93180c46cbefdc7a6563
treec433353ebc3eb5a17aa56cca9b7793fad7ab7859
parent2d11aa960a0a21084df510db9fb21651ff76a2eb
Bluetooth: Send AdvMonitor Dev Found for all matched devices

When an Advertisement Monitor is configured with SamplingPeriod 0xFF,
the controller reports only one adv report along with the MSFT Monitor
Device event.

When an advertiser matches multiple monitors, some controllers send one
adv report for each matched monitor; whereas, some controllers send just
one adv report for all matched monitors.

In such a case, report Adv Monitor Device Found event for each matched
monitor.

Signed-off-by: Manish Mandlik <mmandlik@google.com>
Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c