zephyr/subsys/bluetooth/controller/ll_sw
Joakim Andersson 896619ad40 Bluetooth: controller: Fix controller address check
Fix controllers address check in cases of controller-based privacy.
When controller has been instructed by the host to use privacy
the controller should look up the peer identity address and generate
an address based on the local IRK. In the case where no match
is found or the local IRK is all zeroes the controller shall use
the fallback address. If the fallback address is not valid the
controller shall return invalid params.

This commit fixes these issues:
 - Starting a private advertiser without valid random address set
   but a valid local IRK exists. In this case the advertiser should
   be able to advertise using the RPA regardless of a valid random
   or public address.
 - Starting a private advertiser with a fallback to the public
   address type or an adveriser using public address  does not
   check if a valid public address exists. The host cannot
   advertise with an all-zero public address.

Signed-off-by: Joakim Andersson <joerchan@gmail.com>
2019-12-20 15:26:41 +01:00
..
nordic Bluetooth: controller: split: Reduce time to setup tIFS switch 2019-12-18 22:02:02 +01:00
openisa drivers: clock_control: nrf: Switch to single clock device 2019-12-17 14:38:19 +01:00
ctrl_internal.h Bluetooth: controller: enable dynamic TXP over LEGACY arch (#17731) 2019-12-17 12:29:57 +01:00
ctrl.c drivers: clock_control: nrf: Switch to single clock device 2019-12-17 14:38:19 +01:00
ctrl.h Bluetooth: controller: Optimize calls to hci_get_class() 2019-10-11 13:31:52 +02:00
ll_addr.c Bluetooth: controller: Rename BT_LL_SW to BT_LL_SW_LEGACY 2019-07-22 14:23:42 +02:00
ll_adv_aux.c
ll_adv_aux.h
ll_adv.c Bluetooth: controller: Fix to reject invalid enable command 2019-09-24 08:15:56 +02:00
ll_adv.h
ll_filter.c Bluetooth: controller: legacy: Fix HCI LE Add Device to Whitelist 2019-12-10 22:29:15 +02:00
ll_filter.h
ll_master.c
ll_mesh.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
ll_mesh.h
ll_scan.c Bluetooth: controller: Fix to reject invalid enable command 2019-09-24 08:15:56 +02:00
ll_settings.c Bluetooth: controller: Settings for company_id and subversion_number. 2019-07-23 10:58:03 +02:00
ll_test.c drivers: clock_control: nrf: Switch to single clock device 2019-12-17 14:38:19 +01:00
ll_test.h
ll_tx_pwr.c Bluetooth: controller: enable dynamic TXP over LL_SPLIT arch (#17731) 2019-12-17 12:29:57 +01:00
ll.c drivers: clock_control: nrf: Switch to single clock device 2019-12-17 14:38:19 +01:00
lll_chan.c Bluetooth: controller: split: Add missing BT_DEBUG_ENABLED define 2019-11-21 17:08:37 +01:00
lll_chan.h bluetooth: controller: Move Nordic specific code 2019-05-01 10:40:41 -04:00
lll_conn.h Bluetooth: controller: enable dynamic TXP over LL_SPLIT arch (#17731) 2019-12-17 12:29:57 +01:00
lll_filter.h Bluetooth: controller: SW deferred privacy 2019-12-13 15:35:25 +01:00
lll.h Bluetooth: controller: enable dynamic TXP over LL_SPLIT arch (#17731) 2019-12-17 12:29:57 +01:00
pdu.h bluetooth: controller: openisa/RV32M1: BLE Link Layer ULL/LLL split 2019-11-08 15:38:57 +01:00
ull_adv_aux.c
ull_adv_aux.h
ull_adv_internal.h
ull_adv_types.h
ull_adv.c Bluetooth: controller: Fix controller address check 2019-12-20 15:26:41 +01:00
ull_conn_internal.h Bluetooth: controller: split: Fix flushing Tx buffers in ULL 2019-10-04 20:29:29 +02:00
ull_conn_types.h Bluetooth: controller: split: Fix conn update to be cacheable 2019-11-11 14:17:35 +01:00
ull_conn.c Bluetooth: controller: split: Fix compiler warnings 2019-12-16 16:16:08 +01:00
ull_filter.c Bluetooth: controller: SW deferred privacy IRK size define 2019-12-13 15:35:25 +01:00
ull_filter.h Bluetooth: controller: split: Port h/w privacy feature 2019-05-24 12:00:12 -04:00
ull_internal.h bluetooth: controller: Moved ull_entropy_get to LLL 2019-06-20 10:30:28 +02:00
ull_master_internal.h
ull_master.c Bluetooth: controller: enable dynamic TXP over LL_SPLIT arch (#17731) 2019-12-17 12:29:57 +01:00
ull_scan_internal.h Bluetooth: controller: split: Port h/w privacy feature 2019-05-24 12:00:12 -04:00
ull_scan_types.h
ull_scan.c Bluetooth: controller: enable dynamic TXP over LL_SPLIT arch (#17731) 2019-12-17 12:29:57 +01:00
ull_sched_internal.h
ull_sched.c
ull_slave_internal.h
ull_slave.c Bluetooth: controller: enable dynamic TXP over LL_SPLIT arch (#17731) 2019-12-17 12:29:57 +01:00
ull.c Bluetooth: controller: split: conn handle invalidation on release 2019-12-12 08:48:24 +01:00