zephyr/subsys/bluetooth/controller/hci
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
..
nordic
openisa
hci.c Bluetooth: controller: Dropp IQ sampl report if CTE disabled after evt end 2021-05-06 16:27:16 +02:00
hci_driver.c Bluetooth: controller: HCI: Allow processing a list of events 2021-05-05 08:39:25 -04:00
hci_internal.h Bluetooth: controller: Consolidate ISO role Kconfigs 2021-04-19 10:22:59 +02:00
hci_user_ext.h