-
CONFIG_BT_RX_BUF_LEN
¶
Maximum supported HCI RX buffer length
Type: int
Help¶
Maximum data size for each HCI RX buffer. This size includes everything starting with the ACL or HCI event headers. Note that buffer sizes are always rounded up to the nearest multiple of 4, so if this Kconfig value is something else then there will be some wasted space. The minimum of 73 has been taken for LE SC which has an L2CAP MTU of 65 bytes. On top of this there’s the L2CAP header (4 bytes) and the ACL header (also 4 bytes) which yields 73 bytes.
Kconfig definition¶
At subsys/bluetooth/host/Kconfig:35
Included via Kconfig:10
→ Kconfig.zephyr:35
→ subsys/Kconfig:8
→ subsys/bluetooth/Kconfig:155
Menu path: (top menu) → Bluetooth
config BT_RX_BUF_LEN int prompt "Maximum supported HCI RX buffer length" ifBT_HCI
&&BT
range 73 2000 ifBT_HCI
&&BT
default 264 ifBT_BREDR
&&BT_HCI
&&BT
default 77 ifBT_MESH_PROXY
&&BT_HCI
&&BT
default 76 ifBT_HCI
&&BT
depends onBT_HCI
&&BT
help Maximum data size for each HCI RX buffer. This size includes everything starting with the ACL or HCI event headers. Note that buffer sizes are always rounded up to the nearest multiple of 4, so if this Kconfig value is something else then there will be some wasted space. The minimum of 73 has been taken for LE SC which has an L2CAP MTU of 65 bytes. On top of this there's the L2CAP header (4 bytes) and the ACL header (also 4 bytes) which yields 73 bytes.
(Definitions include propagated dependencies, including from if’s and menus.)