CONFIG_BT_L2CAP_TX_FRAG_COUNT
Number of L2CAP TX fragment buffers
Number of L2CAP TX fragment buffers
Type: int
Help
Number of buffers available for fragments of TX buffers. Warning:
setting this to 0 means that the application must ensure that
queued TX buffers never need to be fragmented, i.e. that the
controller's buffer size is large enough. If this is not ensured,
and there are no dedicated fragment buffers, a deadlock may occur.
In most cases the default value of 2 is a safe bet.
Help
Number of buffers available for fragments of TX buffers. Warning:
setting this to 0 means that the application must ensure that
queued TX buffers never need to be fragmented, i.e. that the
controller's buffer size is large enough. If this is not ensured,
and there are no dedicated fragment buffers, a deadlock may occur.
In most cases the default value of 2 is a safe bet.
Direct dependencies
(BT_CONN
&& BT_HCI_HOST
&& BT_RPC_STACK
) || (BT_CONN
&& BT_HCI_HOST
&& BT_HCI
&& BT
)
(Includes any dependencies from ifs and menus.)
Defaults
2
2
Kconfig definitions
At <Zephyr>/subsys/bluetooth/host/Kconfig.l2cap:17
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:33
→ <Zephyr>/modules/Kconfig:6
→ <nRF>/doc/_build/kconfig/Kconfig.modules:2
→ <nRF>/Kconfig.nrf:92
→ <nRF>/subsys/Kconfig:10
→ <nRF>/subsys/bluetooth/Kconfig:38
→ <nRF>/subsys/bluetooth/rpc/Kconfig:196
→ <Zephyr>/subsys/bluetooth/host/Kconfig:442
Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Bluetooth Low Energy → BLE over nRF RPC → L2CAP Options
config BT_L2CAP_TX_FRAG_COUNT
int "Number of L2CAP TX fragment buffers"
range 0 255
default NET_BUF_TX_COUNT if NET_L2_BT
default 2
depends on BT_CONN && BT_HCI_HOST && BT_RPC_STACK
help
Number of buffers available for fragments of TX buffers. Warning:
setting this to 0 means that the application must ensure that
queued TX buffers never need to be fragmented, i.e. that the
controller's buffer size is large enough. If this is not ensured,
and there are no dedicated fragment buffers, a deadlock may occur.
In most cases the default value of 2 is a safe bet.
At <Zephyr>/subsys/bluetooth/host/Kconfig.l2cap:17
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:44
→ <Zephyr>/subsys/Kconfig:9
→ <Zephyr>/subsys/bluetooth/Kconfig:180
→ <Zephyr>/subsys/bluetooth/host/Kconfig:442
Menu path: (Top) → Sub Systems and OS Services → Bluetooth → L2CAP Options
config BT_L2CAP_TX_FRAG_COUNT
int "Number of L2CAP TX fragment buffers"
range 0 255
default NET_BUF_TX_COUNT if NET_L2_BT
default 2
depends on BT_CONN && BT_HCI_HOST && BT_HCI && BT
help
Number of buffers available for fragments of TX buffers. Warning:
setting this to 0 means that the application must ensure that
queued TX buffers never need to be fragmented, i.e. that the
controller's buffer size is large enough. If this is not ensured,
and there are no dedicated fragment buffers, a deadlock may occur.
In most cases the default value of 2 is a safe bet.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)