zephyr/subsys/bluetooth/host
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
..
a2dp_internal.h
a2dp.c misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
addr.c Bluetooth: host: Refactor out address handling to new file 2020-11-26 13:15:03 +01:00
adv.c Bluetooth: Host: Add ing to the bt_conn (dis)connect-ing state 2022-03-25 15:36:02 +01:00
adv.h Bluetooth: host: Cancel limited adv timeout when advertising stopped 2021-08-30 14:41:20 +02:00
aes_ccm.c Bluetooth: host: Fix MIC generation in Bluetooth CCM encryption 2021-11-08 11:00:33 -05:00
at.c
at.h
att_internal.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
att.c Bluetooth: gatt: Skip MTU exchange if already initiated by peer 2022-03-25 10:41:19 +01:00
avdtp_internal.h Bluetooth: Refactor bluetooth buffer configuration for simplification 2021-05-06 14:56:18 +02:00
avdtp.c Bluetooth: host: Update AVDTP to use new delayable work API 2021-05-05 19:44:09 -04:00
br.c Bluetooth: Host: Add ing to the bt_conn (dis)connect-ing state 2022-03-25 15:36:02 +01:00
br.h Bluetooth: host: Refactor out BR/EDR from hci_core to br 2021-03-15 16:51:51 +02:00
buf.c Bluetooth: buf: Update BT_BUF_RX_SIZE with ISO 2021-12-09 12:38:12 -05:00
CMakeLists.txt Bluetooth: Update terms in public API to spec v5.3 2021-09-15 14:02:50 +03:00
conn_internal.h Bluetooth: Host: Add ing to the bt_conn (dis)connect-ing state 2022-03-25 15:36:02 +01:00
conn.c Bluetooth: Host: Add auth_info_cb struct 2022-03-25 15:17:18 -07:00
crypto.c
crypto.h
direction_internal.h Bluetooth: Host: df: Fix uninit per adv sync and IQ report passed to app 2022-02-08 14:49:43 +01:00
direction.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
ecc.c bluetooth: Add defines for ECC key lengths 2021-08-09 16:45:57 +02:00
ecc.h bluetooth: Add defines for ECC key lengths 2021-08-09 16:45:57 +02:00
gatt_internal.h Bluetooth: gatt: callbacks on ATT MTU update 2021-06-07 12:03:09 +02:00
gatt.c Bluetooth: gatt: Add support for automatic ATT MTU Exchange 2022-03-25 10:41:19 +01:00
hci_common.c
hci_core.c Bluetooth: Host: Remove duplicated bt_auth callbacks 2022-03-25 15:17:18 -07:00
hci_core.h Bluetooth: Host: Add auth_info_cb struct 2022-03-25 15:17:18 -07:00
hci_ecc.c subsys/bluetooth/host: hci_core: Add a bt_disable command 2022-03-10 13:28:41 -05:00
hci_ecc.h subsys/bluetooth/host: hci_core: Add a bt_disable command 2022-03-10 13:28:41 -05:00
hci_raw_internal.h
hci_raw.c Bluetooth: tests: edtt: fix buffer overflow error 2022-02-05 06:19:00 -05:00
hfp_hf.c sys: util: Change return type of ARRAY_SIZE to size_t 2022-03-23 14:09:23 +01:00
hfp_internal.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
id.c Bluetooth: Host: Add ing to the bt_conn (dis)connect-ing state 2022-03-25 15:36:02 +01:00
id.h Bluetooth: host: Update RPA timer to new delayable work API 2021-05-05 19:44:09 -04:00
iso_internal.h Bluetooth: ISO: Add named enum for bt_iso_state 2022-03-25 15:36:02 +01:00
iso.c Bluetooth: ISO: Add named enum for bt_iso_state 2022-03-25 15:36:02 +01:00
Kconfig Bluetooth: Controller: Increase BT_RX_STACK_SIZE for BT_HCI_RAW enabled 2022-03-28 12:47:34 +02:00
Kconfig.gatt Bluetooth: gatt: Add support for automatic ATT MTU Exchange 2022-03-25 10:41:19 +01:00
Kconfig.l2cap Bluetooth: bap: Remove EATT dependency 2022-03-17 11:37:21 +01:00
keys_br.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
keys.c Bluetooth: Fix build error for printing LTK 2021-12-13 17:21:24 -05:00
keys.h Bluetooth: host: Align with terms in v5.3 spec 2021-09-20 20:01:32 +02:00
l2cap_br.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
l2cap_internal.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
l2cap.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
monitor.c logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
monitor.h Bluetooth: Add option to log btsnoops over RTT 2021-05-05 16:03:38 +02:00
rfcomm_internal.h Bluetooth: host: Update RFCOMM to new delayable work API 2021-05-05 19:44:09 -04:00
rfcomm.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
scan.c Bluetooth: Host: Add ing to the bt_conn (dis)connect-ing state 2022-03-25 15:36:02 +01:00
scan.h Bluetoot: host: Make get_per_adv_sync to be global function 2021-05-06 16:27:16 +02:00
sdp_internal.h
sdp.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
settings.c Bluetooth: Host: Implement dynamic apperance 2022-03-07 10:45:55 +01:00
settings.h
smp_null.c Bluetooth: host: Fix buffer leak trying to send when disconnected 2021-05-03 16:45:53 +02:00
smp.c Bluetooth: Host: Remove duplicated bt_auth callbacks 2022-03-25 15:17:18 -07:00
smp.h bluetooth: host: Add support for SMP error code 0x0f 2021-11-01 21:48:52 -04:00
ssp.c Bluetooth: Host: Remove duplicated bt_auth callbacks 2022-03-25 15:17:18 -07:00
ssp.h
testing.c Bluetooth: Mesh: Move Replay Protect to seperate module 2020-10-01 16:20:24 +03:00
testing.h
uuid.c Bluetooth: uuid: Use BT_UUID_SIZE_ macros for bt_uuid_create 2021-07-19 18:52:41 +02:00