]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_sync: Set Privacy Mode when updating the resolving list
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 3 Dec 2021 22:07:23 +0000 (14:07 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Dec 2021 16:05:51 +0000 (17:05 +0100)
commit41adb8f5064cfac92de553e285a0ce3bbb887389
tree11c5c58c8c37bc7d2ef079ddff8ae582d192781b
parentbccf56d3d7f6931ad8e3dbd7322462fea619ae3d
Bluetooth: hci_sync: Set Privacy Mode when updating the resolving list

This adds support for Set Privacy Mode when updating the resolving list
when HCI_CONN_FLAG_DEVICE_PRIVACY so the controller shall use Device
Mode for devices programmed in the resolving list, Device Mode is
actually required when the remote device are not able to use RPA as
otherwise the default mode is Network Privacy Mode in which only
allows RPAs thus the controller would filter out advertisement using
identity addresses for which there is an IRK.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c
net/bluetooth/hci_sync.c