Skip to content

Commit e4d714d

Browse files
committed
Bluetooth: Limit BT_BUF_ACL_RX_SIZE considering data length support
Limit BT_BUF_ACL_RX_SIZE to Host required buffer sizes with consideration of maximum supported ACL data length support in the Controller. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 049b243 commit e4d714d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

subsys/bluetooth/common/Kconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ config BT_BUF_ACL_TX_COUNT
4949
command response.
5050

5151
config BT_BUF_ACL_RX_SIZE
52-
int "Maximum supported ACL size for incoming data"
52+
int "Maximum supported ACL size for incoming data" if BT_CLASSIC ||\
53+
!BT_CTLR || \
54+
BT_CTLR_DATA_LEN_UPDATE_SUPPORT
5355
default 200 if BT_CLASSIC
5456
default 70 if BT_EATT
5557
default 69 if BT_SMP

0 commit comments

Comments
 (0)