CONFIG_BT_DISCARDABLE_BUF_COUNT

Number of discardable event buffers

Type: int

Help

Number of buffers in a separate buffer pool for events which the HCI driver considers discardable. Examples of such events could be e.g. Advertising Reports. The benefit of having such a pool means that the if there is a heavy inflow of such events it will not cause the allocation for other critical events to block and may even eliminate deadlocks in some cases.

Direct dependencies

(BT_H4 || BT_RPMSG || BT_CTLR) && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At subsys/bluetooth/host/Kconfig:49

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:6subsys/bluetooth/Kconfig:160

Menu path: (Top) → Bluetooth

config BT_DISCARDABLE_BUF_COUNT
    int "Number of discardable event buffers"
    range 1 255
    default 20 if BT_MESH
    default 3
    depends on (BT_H4 || BT_RPMSG || BT_CTLR) && BT_HCI && BT
    help
      Number of buffers in a separate buffer pool for events which
      the HCI driver considers discardable. Examples of such events
      could be e.g. Advertising Reports. The benefit of having such
      a pool means that the if there is a heavy inflow of such events
      it will not cause the allocation for other critical events to
      block and may even eliminate deadlocks in some cases.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)