zephyr/subsys/bluetooth/host
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
..
a2dp_internal.h
a2dp.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
addr.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
adv.c Bluetooth: host: Fix resume failing with extended advertising 2022-06-22 12:25:10 +02:00
adv.h Bluetooth: host: Cancel limited adv timeout when advertising stopped 2021-08-30 14:41:20 +02:00
aes_ccm.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
at.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
at.h
att_internal.h Bluetooth: host: Rewrite bt_gatt_notify_multiple 2022-07-15 12:17:29 +02:00
att.c Bluetooth: host: Rewrite bt_gatt_notify_multiple 2022-07-15 12:17:29 +02:00
avdtp_internal.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
avdtp.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
br.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
br.h
buf.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
CMakeLists.txt Bluetooth: host: add dedicated WQ for long-running tasks 2022-06-30 10:31:13 +02:00
conn_internal.h Bluetooth: ISO: Add sn and ts to bt_iso_chan_send 2022-06-07 18:53:44 +02:00
conn.c Bluetooth: Host: Disable host-based RPA resolution when !BT_PRIVACY 2022-07-20 10:48:09 +02:00
crypto.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
crypto.h
direction_internal.h Bluetooth: Host: df: Fix uninit per adv sync and IQ report passed to app 2022-02-08 14:49:43 +01:00
direction.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ecc.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ecc.h
gatt_internal.h Bluetooth: GATT: Add LE Secure Connections Permission Check 2022-07-19 10:32:56 +02:00
gatt.c Bluetooth: GATT: Add LE Secure Connections Permission Check 2022-07-19 10:32:56 +02:00
hci_common.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
hci_core.c Bluetooth: Host: Disable host-based RPA resolution when !BT_PRIVACY 2022-07-20 10:48:09 +02:00
hci_core.h bluetooth: add api for changing rpa timeout in runtime 2022-07-11 09:27:07 +00:00
hci_ecc.c Bluetooth: host: add dedicated WQ for long-running tasks 2022-06-30 10:31:13 +02:00
hci_ecc.h Bluetooth: host: add dedicated WQ for long-running tasks 2022-06-30 10:31:13 +02:00
hci_raw_internal.h
hci_raw.c Bluetooth: host: add dedicated WQ for long-running tasks 2022-06-30 10:31:13 +02:00
hfp_hf.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
hfp_internal.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
id.c bluetooth: add api for changing rpa timeout in runtime 2022-07-11 09:27:07 +00:00
id.h bluetooth: add api for changing rpa timeout in runtime 2022-07-11 09:27:07 +00:00
iso_internal.h Bluetooth: ISO: Add sn and ts to bt_iso_chan_send 2022-06-07 18:53:44 +02:00
iso.c Bluetooth: ISO: Add BT_DEBUG_ISO_DATA Kconfig 2022-07-08 20:00:33 +00:00
Kconfig Bluetooth: Host: Disable host-based RPA resolution when !BT_PRIVACY 2022-07-20 10:48:09 +02:00
Kconfig.gatt Bluetooth: host: Rewrite bt_gatt_notify_multiple 2022-07-15 12:17:29 +02:00
Kconfig.l2cap Bluetooth: has: Add initial Hearing Access Service client 2022-04-07 09:37:53 +02:00
keys_br.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
keys.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
keys.h Bluetooth: host: Align with terms in v5.3 spec 2021-09-20 20:01:32 +02:00
l2cap_br.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
l2cap_internal.h Bluetooth: Host: Fix L2CAP collision mitigation 2022-05-10 18:40:36 +02:00
l2cap.c Bluetooth: host: Fix endianness error in L2CAP 2022-06-21 10:47:48 +02:00
long_wq.c Bluetooth: host: add dedicated WQ for long-running tasks 2022-06-30 10:31:13 +02:00
long_wq.h Bluetooth: host: add dedicated WQ for long-running tasks 2022-06-30 10:31:13 +02:00
monitor.c uart_pipe: move driver from console to serial 2022-07-07 09:59:49 +02:00
monitor.h
rfcomm_internal.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
rfcomm.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
scan.c Bluetooth: Host: add missing de-init of periodic sync pool 2022-07-13 16:13:57 +02:00
scan.h Bluetooth: Host: add missing de-init of periodic sync pool 2022-07-13 16:13:57 +02:00
sdp_internal.h
sdp.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
settings.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
settings.h
smp_null.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
smp.c bluetooth: host: Revert "Avoid sending duplicate device to resolving list." 2022-06-17 13:18:25 +02:00
smp.h bluetooth: host: Add support for SMP error code 0x0f 2021-11-01 21:48:52 -04:00
ssp.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ssp.h
testing.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
testing.h
uuid.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00