:orphan: .. title:: CONFIG_BT_BUF_EVT_DISCARDABLE_COUNT .. kconfig:: CONFIG_BT_BUF_EVT_DISCARDABLE_COUNT CONFIG_BT_BUF_EVT_DISCARDABLE_COUNT ################################### *Number of discardable HCI Event buffers* Type: ``int`` Help ==== .. code-block:: none 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 =================== !\ :kconfig:`BT_HCI_RAW ` && \ :kconfig:`BT_HCI ` && \ :kconfig:`BT ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 20 if \ :kconfig:`BT_MESH ` - 3 Kconfig definition ================== At ``/bluetooth/common/Kconfig:151`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:9`` → ``/bluetooth/Kconfig:173`` Menu path: (Top) → Sub Systems and OS Services → Bluetooth .. code-block:: kconfig 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.)*