zephyr/subsys/bluetooth
Aleksander Wasaznik 58c5e32e08 Bluetooth: Host: Disable host-based RPA resolution when !BT_PRIVACY
Change doc of CONFIG_BT_PRIVACY to explicitly say it's needed for both
generating and resolving RPAs.

Disable host-based RPA resolution in `bt_conn_le_create` when
!CONFIG_BT_PRIVACY.

Update doc of `bt_conn_le_create` to document that CONFIG_BT_PRIVACY is
a requirement for resolving RPAs. Also explictly say that this function
will resolve private identities. Also explain the expected effect of
Network Privacy on this function.

Reduce coupling to `bt_le_create_conn_ext` and
`bt_le_create_conn_legacy` in `bt_conn_le_create` by just use
`resp_addr` when it's set, instead of "knowing" when it had been set.
The alternative would be to also update `bt_le_create_conn_ext` and
`bt_le_create_conn_legacy` to have `(IS_ENABLED(CONFIG_BT_PRIVACY) &&
(!bt_dev.le.rl_size || bt_dev.le.rl_entries > bt_dev.le.rl_size))`

Signed-off-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
2022-07-20 10:48:09 +02:00
..
audio Bluetooth: Audio: Add PACS location read for unicast client 2022-07-19 12:27:00 +00:00
common all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
controller everywhere: Fix legacy include paths 2022-07-18 16:16:47 +00:00
host Bluetooth: Host: Disable host-based RPA resolution when !BT_PRIVACY 2022-07-20 10:48:09 +02:00
mesh Bluetooth: Mesh: IV Index timer is not started 2022-07-14 17:51:31 +00:00
services all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
shell Bluetooth: Audio: Add PACS location read for unicast client 2022-07-19 12:27:00 +00:00
CMakeLists.txt
Kconfig bluetooth: kconfig: Hide host options if not available 2022-06-17 10:49:51 -05:00
Kconfig.adv bluetooth: kconfig: Hide host options if not available 2022-06-17 10:49:51 -05:00
Kconfig.iso bluetooth: kconfig: Hide host options if not available 2022-06-17 10:49:51 -05:00