]> 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)
commit4def21fd645fef2f948f2f5023786716cb86ea6f
tree11c5c58c8c37bc7d2ef079ddff8ae582d192781b
parent8531170bc46aeae651d94a073e5ec867b555c72f
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