zephyr/subsys/bluetooth/controller
Piotr Pryga 939578e79d Bluetooth: hci: df: Fix unnecessary IQ sample storage
In case Controller reports to Host insufficient resources to store IQ
samples, according to BT 5.3 Core spec. Vol 4, Part E, sections
7.7.65.21 and 7.7.65.22:
1) packet_status shall be set to BT_HCI_LE_CTE_INSUFFICIENT_RESOURCES
2) sample_count shall be set to zero.
That means there should be no IQ samples stored in IQ report.

HCI implementation stored single IQ sample with value BT_HCI_LE_CTE-
_REPORT_NO_VALID_SAMPLE.

The commit fixes that. No additional memory is added to event buffer
and no IQ sample is stored if sample_count is zero.

Also there is added code that handles situation where ULL provides
IQ report with packet_status indicating valid IQ samples report
but sample_count is zero. In such case Host event stores single IQ
sample with value BT_HCI_LE_CTE_REPORT_NO_VALID_SAMPLE.
In case of vendor specific counter part of the event the value is
BT_HCI_VS_LE_CTE_REPORT_NO_VALID_SAMPLE.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
2022-08-19 16:26:10 +02:00
..
crypto
hal Bluetooth: Controller: df: make radio_df_vendor_hal.h compile in always 2022-03-21 10:15:39 +01:00
hci Bluetooth: hci: df: Fix unnecessary IQ sample storage 2022-08-19 16:26:10 +02:00
include Bluetooth: Controller: Add deinit() infrastructure 2022-06-06 12:04:30 +02:00
ll_sw devices: constify statically initialized device pointers 2022-08-19 11:51:26 +02:00
ticker Bluetooth: Controller: Ticker next slot get to return remainder value 2022-08-02 12:54:31 +02:00
util Bluetooth: Controller: fix mayfly unwanted re-init every bt_enable call 2022-07-13 16:13:57 +02:00
CMakeLists.txt Bluetooth: controller: llcp: fix CI tests for new LLCP 2022-08-14 21:59:09 +02:00
Kconfig Bluetooth: controller: Tie Configure Data Path to Read Supported Codecs 2022-06-16 11:26:03 +02:00
Kconfig.df Bluetooth: hci: Add VS IQ samples report using 16 bit sign integer sampl 2022-08-19 16:26:10 +02:00
Kconfig.dtm bluetooth: controller: Add support for all DTM commands 2022-03-18 12:00:03 +01:00
Kconfig.ll_sw_split Bluetooth: controller: llcp: fix CI tests for new LLCP 2022-08-14 21:59:09 +02:00