Skip to content

Commit 34913ec

Browse files
committed
samples: Remove BT_BUF_ACL_RX_COUNT
BT_BUF_ACL_RX has been deprecated in zephyrproject-rtos/zephyr#81747 It is now by default equal to BT_MAX_CONN + 1. Signed-off-by: Pavel Vasilyev <[email protected]>
1 parent aa5aa6b commit 34913ec

File tree

8 files changed

+0
-21
lines changed

8 files changed

+0
-21
lines changed

applications/matter_bridge/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ config BT_SCAN
8282
config BT_MAX_CONN
8383
default 10
8484

85-
# Set ACL RX count to CONFIG_BT_MAX_CONN + 1, as it is expected that CONFIG_BT_BUF_ACL_RX_COUNT > CONFIG_BT_MAX_CONN.
86-
config BT_BUF_ACL_RX_COUNT
87-
default 11
88-
8985
config BT_SCAN_FILTER_ENABLE
9086
default y
9187

applications/matter_bridge/boards/nrf5340dk_nrf5340_cpuapp.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
# Set 10 BLE connections, as it is an upper limit supported caused by RAM usage due to using Thread and BLE at same time.
88
CONFIG_BT_MAX_CONN=10
99

10-
# Set ACL RX count to CONFIG_BT_MAX_CONN + 1, as it is expected that CONFIG_BT_BUF_ACL_RX_COUNT > CONFIG_BT_MAX_CONN.
11-
CONFIG_BT_BUF_ACL_RX_COUNT=11
12-
1310
# Set buffer sizes in a consistent way with the ones used by the network core.
1411
#id if oncomment it there is an error that rx buffer is out of range (minimal value is 69)
1512
CONFIG_BT_BUF_ACL_RX_SIZE=69

applications/matter_bridge/overlay-bt_max_connections_app.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
# Set 20 BLE connections, as it is an upper limit supported by the Soft Device Controller.
88
CONFIG_BT_MAX_CONN=20
99

10-
# Set ACL RX count to CONFIG_BT_MAX_CONN + 1, as it is expected that CONFIG_BT_BUF_ACL_RX_COUNT > CONFIG_BT_MAX_CONN.
11-
CONFIG_BT_BUF_ACL_RX_COUNT=21
12-
1310
# Set buffer sizes in a consistent way with the ones used by the network core.
1411
CONFIG_BT_BUF_ACL_RX_SIZE=84
1512
CONFIG_BT_BUF_ACL_TX_SIZE=84

applications/matter_bridge/sysbuild/ipc_radio/boards/nrf5340dk_nrf5340_cpunet.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
# Set 10 BLE connections, as it is an upper limit supported caused by RAM usage due to using Thread and BLE at same time.
88
CONFIG_BT_MAX_CONN=10
99

10-
# Set ACL RX count to CONFIG_BT_MAX_CONN + 1, as it is expected that CONFIG_BT_BUF_ACL_RX_COUNT > CONFIG_BT_MAX_CONN.
11-
CONFIG_BT_BUF_ACL_RX_COUNT=11
12-
1310
# Decrease stack and buffer sizes to free some RAM and support 10 BLE connections
1411
CONFIG_MAIN_STACK_SIZE=512
1512
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512

applications/matter_bridge/sysbuild/ipc_radio/overlay-bt_max_connections_net.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
# Set 20 BLE connections, as it is an upper limit supported by the Soft Device Controller
88
CONFIG_BT_MAX_CONN=20
99

10-
# Set ACL RX count to CONFIG_BT_MAX_CONN + 1, as it is expected that CONFIG_BT_BUF_ACL_RX_COUNT > CONFIG_BT_MAX_CONN.
11-
CONFIG_BT_BUF_ACL_RX_COUNT=21
12-
1310
# Decrease stack and buffer sizes to free some RAM and support 20 BLE connections
1411
CONFIG_MAIN_STACK_SIZE=512
1512
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512

applications/matter_bridge/sysbuild/ipc_radio/prj.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ CONFIG_BT_BUF_ACL_TX_SIZE=251
2727
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
2828
CONFIG_BT_CTLR_PHY_2M=n
2929

30-
# Set ACL RX count to CONFIG_BT_MAX_CONN + 1, as it is expected that CONFIG_BT_BUF_ACL_RX_COUNT > CONFIG_BT_MAX_CONN.
31-
CONFIG_BT_BUF_ACL_RX_COUNT=11
32-
3330
# Debug and assert configuration
3431
CONFIG_ASSERT=y
3532
CONFIG_DEBUG_INFO=y

samples/bluetooth/peripheral_with_multiple_identities/prj.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=n
1414
CONFIG_BT_EXT_ADV_MAX_ADV_SET=20
1515
CONFIG_BT_MAX_CONN=20
1616
CONFIG_BT_ID_MAX=20
17-
CONFIG_BT_BUF_ACL_RX_COUNT=21

samples/bluetooth/scanning_while_connecting/prj.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ CONFIG_BT_CTLR_FAL_SIZE=255
2020
CONFIG_LOG=y
2121

2222
CONFIG_BT_MAX_CONN=16
23-
CONFIG_BT_BUF_ACL_RX_COUNT=17

0 commit comments

Comments
 (0)