Bluetooth: Increase default TX stack size

The current stack consumption with the H4 driver on qemu_x86 is as
follows with a change from 256 to 512:

	usage 396 / 512 (77 %)

Increase the default for this configuration, as well as other similar
configurations. Set the fallback default to a higher value as well.

Fixes #12429

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2019-01-15 08:28:41 +02:00 committed by Johan Hedberg
commit eba16555ce

View file

@ -49,14 +49,14 @@ config BT_RX_BUF_LEN
config BT_HCI_TX_STACK_SIZE
int
default 256 if BT_H4
default 256 if BT_H5
default 512 if BT_H4
default 512 if BT_H5
default 416 if BT_SPI
default 640 if BT_CTLR
default 256 if BT_USERCHAN
default 512 if BT_USERCHAN
# Even if no driver is selected the following default is still
# needed e.g. for unit tests.
default 256
default 512
help
Stack size needed for executing bt_send with specified driver