Skip to content

Commit f0e456d

Browse files
ppryga-nordiccarlescufi
authored andcommitted
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 <[email protected]>
1 parent f35b22a commit f0e456d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/bluetooth/controller/mock_ctrl/include/kconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
#endif
159159

160160
#ifndef CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN
161-
#define CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN 39
161+
#define CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN 38
162162
#endif
163163

164164
/* Kconfig Cheats */

tests/bluetooth/df/connection_cte_req/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ CONFIG_BT_DF_CONNECTION_CTE_RSP=y
2828
CONFIG_BT_DF_CONNECTION_CTE_REQ=y
2929

3030
# Set antenna switch pattern to max allowed value
31-
CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN=39
31+
CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN=38

tests/bluetooth/df/connection_cte_tx_params/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ CONFIG_BT_DF=y
1717
CONFIG_BT_CTLR_DF=y
1818

1919
# set antenna switch pattern to max allowed value
20-
CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN=39
20+
CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN=38

0 commit comments

Comments
 (0)