-
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.)
Kconfig definition¶
At <Zephyr>/subsys/bluetooth/host/Kconfig:50
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:9
→ <Zephyr>/subsys/bluetooth/Kconfig:239
Menu path: (Top) → Sub Systems and OS Services → Bluetooth
config BT_DISCARDABLE_BUF_COUNT int "Number of discardable event buffers" range 1 255 default 20 ifBT_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.)