zephyr/tests/bsim/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
..
adv Bluetooth: Tests: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
att Bluetooth: Tests: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
gatt Bluetooth: Rework the HCI header set 2023-06-12 06:20:24 -04:00
id/settings Bluetooth: Tests: New bsim test for ID 2023-06-16 07:57:46 -04:00
l2cap Bluetooth: Host: Add sending L2CAP data from connection callback test 2023-06-17 07:33:11 -04:00
misc/disable bsim: cmake: Remove unnecessary references to environment 2023-04-28 20:38:48 +02:00
privacy Bluetooth: host: invalidate the RPA when starting legacy adv 2023-06-17 07:36:58 -04:00
security Bluetooth: Rework the HCI header set 2023-06-12 06:20:24 -04:00
compile.sh Bluetooth: host: invalidate the RPA when starting legacy adv 2023-06-17 07:36:58 -04:00