Skip to content

Commit

Permalink
samples: Remove BT_BUF_ACL_RX_COUNT
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
PavelVPV committed Dec 13, 2024
1 parent db6ed65 commit 672660b
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 21 deletions.
4 changes: 0 additions & 4 deletions applications/matter_bridge/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ config BT_SCAN
config BT_MAX_CONN
default 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.
config BT_BUF_ACL_RX_COUNT
default 11

config BT_SCAN_FILTER_ENABLE
default y

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
# Set 10 BLE connections, as it is an upper limit supported caused by RAM usage due to using Thread and BLE at same time.
CONFIG_BT_MAX_CONN=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.
CONFIG_BT_BUF_ACL_RX_COUNT=11

# Set buffer sizes in a consistent way with the ones used by the network core.
#id if oncomment it there is an error that rx buffer is out of range (minimal value is 69)
CONFIG_BT_BUF_ACL_RX_SIZE=69
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
# Set 20 BLE connections, as it is an upper limit supported by the Soft Device Controller.
CONFIG_BT_MAX_CONN=20

# 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.
CONFIG_BT_BUF_ACL_RX_COUNT=21

# Set buffer sizes in a consistent way with the ones used by the network core.
CONFIG_BT_BUF_ACL_RX_SIZE=84
CONFIG_BT_BUF_ACL_TX_SIZE=84
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
# Set 10 BLE connections, as it is an upper limit supported caused by RAM usage due to using Thread and BLE at same time.
CONFIG_BT_MAX_CONN=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.
CONFIG_BT_BUF_ACL_RX_COUNT=11

# Decrease stack and buffer sizes to free some RAM and support 10 BLE connections
CONFIG_MAIN_STACK_SIZE=512
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
# Set 20 BLE connections, as it is an upper limit supported by the Soft Device Controller
CONFIG_BT_MAX_CONN=20

# 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.
CONFIG_BT_BUF_ACL_RX_COUNT=21

# Decrease stack and buffer sizes to free some RAM and support 20 BLE connections
CONFIG_MAIN_STACK_SIZE=512
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512
Expand Down
3 changes: 0 additions & 3 deletions applications/matter_bridge/sysbuild/ipc_radio/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
CONFIG_BT_CTLR_PHY_2M=n

# 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.
CONFIG_BT_BUF_ACL_RX_COUNT=11

# Debug and assert configuration
CONFIG_ASSERT=y
CONFIG_DEBUG_INFO=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=n
CONFIG_BT_EXT_ADV_MAX_ADV_SET=20
CONFIG_BT_MAX_CONN=20
CONFIG_BT_ID_MAX=20
CONFIG_BT_BUF_ACL_RX_COUNT=21
1 change: 0 additions & 1 deletion samples/bluetooth/scanning_while_connecting/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ CONFIG_BT_CTLR_FAL_SIZE=255
CONFIG_LOG=y

CONFIG_BT_MAX_CONN=16
CONFIG_BT_BUF_ACL_RX_COUNT=17

0 comments on commit 672660b

Please sign in to comment.