:orphan: .. title:: BT_DISCARDABLE_BUF_COUNT .. option:: 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 =================== (\ :option:`BT_H4 ` || \ :option:`BT_RPMSG ` || \ :option:`BT_CTLR `) && \ :option:`BT_HCI ` && \ :option:`BT ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 20 if \ :option:`BT_MESH ` - 3 Kconfig definition ================== .. highlight:: kconfig At ``subsys/bluetooth/host/Kconfig:50`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:9`` → ``subsys/bluetooth/Kconfig:239`` Menu path: (Top) → Sub Systems and OS Services → Bluetooth .. parsed-literal:: config BT_DISCARDABLE_BUF_COUNT int "Number of discardable event buffers" range 1 255 default 20 if \ :option:`BT_MESH ` default 3 depends on (\ :option:`BT_H4 ` || \ :option:`BT_RPMSG ` || \ :option:`BT_CTLR `) && \ :option:`BT_HCI ` && \ :option:`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.)*