Bluetooth: mgmt: Add MGMT Adv Monitor Device Found/Lost events
authorManish Mandlik <mmandlik@google.com>
Tue, 11 Jan 2022 16:14:26 +0000 (08:14 -0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 20 Jan 2022 21:10:28 +0000 (13:10 -0800)
commit8d7f167752c3e4c45a39e76ffa6f7209413d3fa6
tree36623be5f088f7fc8a629a1ff74e91efa28dd221
parent3368aa357f3ba133ae65fc26c04d24a1447a3903
Bluetooth: mgmt: Add MGMT Adv Monitor Device Found/Lost events

This patch introduces two new MGMT events for notifying the bluetoothd
whenever the controller starts/stops monitoring a device.

Test performed:
- Verified by logs that the MSFT Monitor Device is received from the
  controller and the bluetoothd is notified whenever the controller
  starts/stops monitoring a device.

Signed-off-by: Manish Mandlik <mmandlik@google.com>
Reviewed-by: Miao-chen Chou <mcchou@google.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt.h
net/bluetooth/mgmt.c
net/bluetooth/msft.c