Bluetooth: controller: Add opt. to enable CTE samplig for PDUs with bad CRC
Add Kconfig option that will enable possiblity to sample CTE attached to
PDUs that have bard CRC. Sampling is based on CTEInfo field available
in received PDU. If radio is able to parse the field correclty then
it will start sampling even the CRC is wrong.
Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
diff --git a/subsys/bluetooth/controller/Kconfig.df b/subsys/bluetooth/controller/Kconfig.df
index 1a0f328..f22a1f4 100644
--- a/subsys/bluetooth/controller/Kconfig.df
+++ b/subsys/bluetooth/controller/Kconfig.df
@@ -112,6 +112,13 @@
Enable support for Bluetooth v5.1 connectionless CTE reception
in controller.
+config BT_CTLR_DF_SAMPLE_CTE_FOR_PDU_WITH_BAD_CRC
+ bool "Enable sampling of CTE for PDUs with bad CRC"
+ depends on BT_CTLR_DF_SCAN_CTE_RX
+ default y
+ help
+ Enable support for sampling of CTE for PDUs that have bad CRC.
+
# Customization setting to manage memory usage footprint
config BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN