CONFIG_BT_BUF_EVT_DISCARDABLE_COUNT

Number of discardable HCI 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 is 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_HCI_RAW && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At <Zephyr>/subsys/bluetooth/common/Kconfig:151

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:322

Menu path: (Top) → Sub Systems and OS Services → Bluetooth

config BT_BUF_EVT_DISCARDABLE_COUNT
    int "Number of discardable HCI Event buffers"
    range 1 255
    default 20 if BT_MESH
    default 3
    depends on !BT_HCI_RAW && 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 is 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.)