From f0e456dc50a5cc4eae91f94c09a2bf88f08ec4f3 Mon Sep 17 00:00:00 2001 From: Piotr Pryga Date: Mon, 16 May 2022 11:53:51 +0200 Subject: [PATCH] tests: Bluetooth: df: Fix wrong max antenna switch pattern len config Due to change in Kconfig CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN the Kconfigs in tests were wrong and tests were not building. The commit sets the max antenna switch pattern length to actual maximum value. Signed-off-by: Piotr Pryga --- tests/bluetooth/controller/mock_ctrl/include/kconfig.h | 2 +- tests/bluetooth/df/connection_cte_req/prj.conf | 2 +- tests/bluetooth/df/connection_cte_tx_params/prj.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/bluetooth/controller/mock_ctrl/include/kconfig.h b/tests/bluetooth/controller/mock_ctrl/include/kconfig.h index a5a097ea2b8..8d3b76f58e6 100644 --- a/tests/bluetooth/controller/mock_ctrl/include/kconfig.h +++ b/tests/bluetooth/controller/mock_ctrl/include/kconfig.h @@ -158,7 +158,7 @@ #endif #ifndef CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN -#define CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN 39 +#define CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN 38 #endif /* Kconfig Cheats */ diff --git a/tests/bluetooth/df/connection_cte_req/prj.conf b/tests/bluetooth/df/connection_cte_req/prj.conf index 6280ed8e699..55ba1257390 100644 --- a/tests/bluetooth/df/connection_cte_req/prj.conf +++ b/tests/bluetooth/df/connection_cte_req/prj.conf @@ -28,4 +28,4 @@ CONFIG_BT_DF_CONNECTION_CTE_RSP=y CONFIG_BT_DF_CONNECTION_CTE_REQ=y # Set antenna switch pattern to max allowed value -CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN=39 +CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN=38 diff --git a/tests/bluetooth/df/connection_cte_tx_params/prj.conf b/tests/bluetooth/df/connection_cte_tx_params/prj.conf index 6519aeea950..c6cca863d45 100644 --- a/tests/bluetooth/df/connection_cte_tx_params/prj.conf +++ b/tests/bluetooth/df/connection_cte_tx_params/prj.conf @@ -17,4 +17,4 @@ CONFIG_BT_DF=y CONFIG_BT_CTLR_DF=y # set antenna switch pattern to max allowed value -CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN=39 +CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN=38