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.

Direct dependencies

BT_HCI && BT

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/bluetooth/host/Kconfig:35

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:8subsys/bluetooth/Kconfig:155

Menu path: (top menu) → Bluetooth

config BT_RX_BUF_LEN
    int
    prompt "Maximum supported HCI RX buffer length" if BT_HCI && BT
    range 73 2000 if BT_HCI && BT
    default 264 if BT_BREDR && BT_HCI && BT
    default 77 if BT_MESH_PROXY && BT_HCI && BT
    default 76 if BT_HCI && BT
    depends on BT_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.)