zephyr/subsys/bluetooth/controller
Piotr Pryga f74a0b294c Bluetooth: controller: Dropp IQ sampl report if CTE disabled after evt end
Disable of CTE sampling for periodic advertising sync PDUs may be
interrupted by radio event. In such situation, TX thread will be
handled before RX thread delivers IQ samples report to host. In
this case RX thread would deliver IQ samples report after CTE
sampling was disabled.

To avoid such situation RX thread has to check if:
- CTE sampling is not disabled,
- CTE sampling was not requested to be disabled after start of radio
  event.

CTE sampling configuration is double buffered. Updated configuration is
swapped at the beginning of radio event.

If CTE sampling is diabled or requested to disable (next radio event
didn't start), the IQ samples report should be dropped by RX thread
and should not be delivered to host.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
2021-05-06 16:27:16 +02:00
..
crypto Bluetooth: controller: Use NRF RNG entropy device 2020-06-16 19:09:55 +02:00
hal Bluetooth: controller: ll_sw: nordic: Add DF antenna configuration handling 2021-01-20 14:55:24 +01:00
hci Bluetooth: controller: Dropp IQ sampl report if CTE disabled after evt end 2021-05-06 16:27:16 +02:00
include Bluetooth: controller: ULL: Add function to enable or disable CTE sampling 2021-05-06 16:27:16 +02:00
ll_sw Bluetooth: controller: Dropp IQ sampl report if CTE disabled after evt end 2021-05-06 16:27:16 +02:00
ticker Bluetooth: controller: Propagate ticker force to ULL 2021-04-13 12:15:12 +02:00
util Bluetooth: controller: Add function to calculate BIS access address 2021-05-05 08:41:09 -04:00
CMakeLists.txt Bluetooth: controller: Consolidate ISO role Kconfigs 2021-04-19 10:22:59 +02:00
Kconfig Bluetooth: Refactor bluetooth buffer configuration for simplification 2021-05-06 14:56:18 +02:00
Kconfig.df Bluetooth: controller: Add opt. to enable CTE samplig for PDUs with bad CRC 2021-05-06 16:27:16 +02:00
Kconfig.ll_sw_split Bluetooth: controller: Add Kconfig options for nRF21540 PDN and CSN pins 2021-04-21 15:04:12 +02:00