The latest development version of this page may be more current than this released 1.14.1 version.
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_CTLR) && BT_HCI && BT

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

Defaults

Kconfig definition

At subsys/bluetooth/host/Kconfig:51

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:8subsys/bluetooth/Kconfig:144

Menu path: (top menu) → Bluetooth

config BT_DISCARDABLE_BUF_COUNT
    int
    prompt "Number of discardable event buffers" if (BT_H4 || BT_CTLR) && BT_HCI && BT
    range 1 255 if (BT_H4 || BT_CTLR) && BT_HCI && BT
    default 20 if BT_MESH && (BT_H4 || BT_CTLR) && BT_HCI && BT
    default 3 if (BT_H4 || BT_CTLR) && BT_HCI && BT
    depends on (BT_H4 || 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.

(Definitions include propagated dependencies, including from if’s and menus.)