zephyr/subsys/bluetooth/host
Jonathan Rico 931a089e2c Bluetooth: host: invalidate the RPA when starting legacy adv
This fixes the failure to use a resolvable private address in this
scenario.

1. call `bt_le_oob_get_local`, will generate and mark RPA as valid
2. start connectable adv w/ IDENTITY bit
3. start connectable adv w/o IDENTITY
4. RPA is not set (in `bt_id_set_private_addr`) because RPA
   is still marked as valid

When EXT_ADV is enabled and the controller supports it, a different code
path is taken that doesn't have this issue.

Unconditionally invalidating the RPA when starting advertising works around
this issue.

Fixes #56326

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
2023-06-17 07:36:58 -04:00
..
a2dp_internal.h
a2dp.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
addr_internal.h BluetootH: Host: add helper functions for resolved addresses 2023-01-12 13:31:12 +01:00
addr.c Bluetooth: Host: Fix bt_addr_from_str for str starting with ':' 2023-06-05 08:31:06 -04:00
adv.c Bluetooth: host: invalidate the RPA when starting legacy adv 2023-06-17 07:36:58 -04:00
adv.h Bluetooth: Host: reset adv_pool in bt_disable 2022-11-09 09:03:50 +00:00
aes_ccm.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
at.c bluetooth: fix armclang compiler warnings with is*() functions 2023-03-31 09:19:16 +02:00
at.h
att_internal.h Bluetooth: BAP: Add unicast client and server write long support 2023-05-26 05:55:15 -04:00
att.c Bluetooth: host: att: clear ATT_PENDING_SENT 2023-04-26 13:53:08 +02:00
avdtp_internal.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
avdtp.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
br.c Bluetooth: Use bt_addr_eq 2023-05-09 09:23:52 +02:00
br.h
buf.c Bluetooth: Fix clearing sent_cmd pointer when allocating event buffer 2023-04-11 16:57:37 +02:00
CMakeLists.txt Bluetooth: Move bt_data_parse to dedicated source file 2023-03-16 11:46:36 +01:00
conn_internal.h Bluetooth: host: don't fragment ISO if len <= MTU 2023-05-03 10:02:44 +02:00
conn.c iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
crypto.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
crypto.h
data.c Bluetooth: Host: Move new bt_data functions to data.c 2023-03-21 18:17:52 +00:00
direction_internal.h Bluetooth: Host: Add common handling of VS IQ report 2022-08-19 16:26:10 +02:00
direction.c Bluetooth: host: df: Add missing bt_conn_unref in error cases 2023-03-23 08:56:07 +00:00
ecc.c tests: bluetooth: host: Add UT for bt_pub_key_gen() 2023-03-22 09:33:42 +01:00
ecc.h Bluetooth: Host: add pub_key_hci_disrupted function 2022-11-09 09:03:50 +00:00
gatt_internal.h Bluetooth: GATT: Add LE Secure Connections Permission Check 2022-07-19 10:32:56 +02:00
gatt.c Bluetooth: Host: Fix GATT server handling of CCC 2023-06-08 04:10:58 -04:00
hci_common.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
hci_core.c Bluetooth: host: hci_core: handle additional error code 2023-06-01 10:04:46 +02:00
hci_core.h Bluetooth: id: Keep RPA as bt_addr_t 2023-05-12 10:55:50 +03:00
hci_ecc.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01: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: hci_raw: Fix a LOG_ERR message 2023-04-28 10:33:18 -05:00
hfp_hf.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
hfp_internal.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
id.c Bluetooth: Host: Fix wrong ID being stored 2023-06-16 07:57:46 -04:00
id.h Bluetooth: host: Call RPA expired on disabled advertising sets 2022-11-21 12:36:50 +01:00
iso_internal.h Bluetooth: audio: Fix declaring conn type object in header file 2023-03-28 15:07:09 +02:00
iso.c Bluetooth: ISO: Log status as hex instead of decimal 2023-06-09 14:16:15 -04:00
Kconfig Bluetooth: host: clarify the behavior of BT_PRIVACY 2023-05-22 15:26:55 +02:00
Kconfig.gatt Bluetooth: Logging: Move all logging symbols together 2023-03-28 10:33:24 +02:00
Kconfig.l2cap Bluetooth: MCS: Remove requirement for TX_BUF_COUNT 2023-05-26 05:54:58 -04:00
keys_br.c Bluetooth: Use bt_addr_eq 2023-05-09 09:23:52 +02:00
keys.c Bluetooth: Use bt_addr_eq 2023-05-09 09:23:52 +02:00
keys.h Bluetooth: Host: Define bt_irk_eq 2022-10-27 13:16:59 +02:00
l2cap_br.c iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
l2cap_internal.h iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
l2cap.c Bluetooth: Host: Re-order LE L2CAP connection accept procedure 2023-06-17 07:33:11 -04:00
long_wq.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
long_wq.h Bluetooth: host: add dedicated WQ for long-running tasks 2022-06-30 10:31:13 +02:00
monitor.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
monitor.h Bluetooth: Host: Monitor: Make addr param const in bt_monitor_new_index 2022-08-25 12:18:09 +02:00
rfcomm_internal.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
rfcomm.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
scan.c Bluetooth: Host: Fix double conversion of phy 2023-05-15 13:10:29 +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 Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
settings.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
settings.h
smp_null.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
smp.c Bluetooth: Host: Fix warning from the logging subsystem 2023-05-09 14:28:49 +02:00
smp.h Bluetooth: Host: SMP Keypress Notification 2023-03-13 14:04:25 +01:00
ssp.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
ssp.h
testing.c Bluetooth: Mesh: Add Model Receive testing callback 2023-03-06 13:52:15 +01:00
testing.h Bluetooth: Mesh: Add Model Receive testing callback 2023-03-06 13:52:15 +01:00
uuid.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00