diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-12-03 14:07:23 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-12-07 17:05:51 +0100 |
commit | 853b70b506a20cddf96419e8ac198df92e51bc4c (patch) | |
tree | 11c5c58c8c37bc7d2ef079ddff8ae582d192781b /include/net/bluetooth/hci_core.h | |
parent | Bluetooth: Introduce HCI_CONN_FLAG_DEVICE_PRIVACY device flag (diff) | |
download | linux-dev-853b70b506a20cddf96419e8ac198df92e51bc4c.tar.xz linux-dev-853b70b506a20cddf96419e8ac198df92e51bc4c.zip |
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>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index cf24af649c7f..4d69dcfebd63 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -757,6 +757,7 @@ struct hci_conn_params { struct hci_conn *conn; bool explicit_connect; DECLARE_BITMAP(flags, __HCI_CONN_NUM_FLAGS); + u8 privacy_mode; }; extern struct list_head hci_dev_list; |