zephyr/subsys/bluetooth
Vinayak Kariappa Chettimada 586ba9fd13 Bluetooth: Controller: Increase BT_RX_STACK_SIZE for BT_HCI_RAW enabled
Increase BT_RX_STACK_SIZE for BT_HCI_RAW enabled, as HCI
Extended Advertising Report generation requires more program
stack.

Without the update conformance test run failed with hanging
controller with mem manage fault.

Profiled the hci_uart sample using BlueZ by performing
`find -l` in `btmgmt` utility with the sample built
using:

CONFIG_THREAD_ANALYZER=y
CONFIG_THREAD_ANALYZER_AUTO=y
CONFIG_THREAD_ANALYZER_AUTO_INTERVAL=5
CONFIG_THREAD_NAME=y

Thread analyze:
 HCI uart TX         : STACK: unused 496 usage 528 / 1024 (51 %); CPU: 0 %
      : Total CPU cycles used: 146
 BT RX               : STACK: unused 72 usage 696 / 768 (90 %); CPU: 0 %
      : Total CPU cycles used: 3549
 BT RX pri           : STACK: unused 88 usage 168 / 256 (65 %); CPU: 0 %
      : Total CPU cycles used: 1210
 thread_analyzer     : STACK: unused 528 usage 496 / 1024 (48 %); CPU: 0 %
      : Total CPU cycles used: 889
 sysworkq            : STACK: unused 344 usage 168 / 512 (32 %); CPU: 0 %
      : Total CPU cycles used: 0
 logging             : STACK: unused 240 usage 528 / 768 (68 %); CPU: 0 %
      : Total CPU cycles used: 4305
 idle 00             : STACK: unused 228 usage 92 / 320 (28 %); CPU: 99 %
      : Total CPU cycles used: 3101052
 main                : STACK: unused 672 usage 352 / 1024 (34 %); CPU: 0 %
      : Total CPU cycles used: 395
 ISR0                : STACK: unused 1248 usage 800 / 2048 (39 %)

Signed-off-by: Vinayak Kariappa Chettimada <vinayak.kariappa@gmail.com>
2022-03-28 12:47:34 +02:00
..
audio Bluetooth: Audio: Media - truncate strings for notification 2022-03-28 12:46:53 +02:00
common everywhere: fix typos 2022-03-18 13:24:08 -04:00
controller Bluetooth: Controller: Fix filter bdaddr list size 2022-03-25 16:13:06 +01:00
host Bluetooth: Controller: Increase BT_RX_STACK_SIZE for BT_HCI_RAW enabled 2022-03-28 12:47:34 +02:00
mesh Bluetooth: Mesh: shell several arg idx bug fix 2022-03-25 10:42:08 +01:00
services bluetooth: ots: reduce directory listing memory usage 2022-03-28 12:45:51 +02:00
shell Bluetooth: Audio: Add Telephone Bearer Client shell module 2022-03-28 12:45:03 +02:00
CMakeLists.txt
Kconfig Bluetooth: Kconfig: Move audio and mesh to be shown under host 2022-03-17 11:12:47 +01:00
Kconfig.adv Bluetooth: Kconfig: Move BT_LIM_ADV_TIMEOUT to host config 2022-03-17 11:12:47 +01:00
Kconfig.iso everywhere: fix typos 2022-03-18 13:24:08 -04:00