drivers: bluetooth: silabs: Add separate thread for BT Link Layer

The BT Link Layer needs to get runtime in a timely manner to keep
connections alive and handle other time-critical tasks. This is achieved by
adding a separate thread for it with a meta-IRQ priority, which means it
can preempt other threads. The driver also has an RX thread that passes HCI
messages from the controller to the host stack. This can be a lower
priority cooperative thread, as it doesn't have strict timing requirements.

Signed-off-by: Kalle Kietäväinen <kalle.kietavainen@silabs.com>
This commit is contained in:
Kalle Kietäväinen 2025-01-13 15:06:42 +02:00 committed by Benjamin Cabé
commit fe5abd0344
3 changed files with 46 additions and 10 deletions

View file

@ -19,4 +19,7 @@ config CORTEX_M_SYSTICK
config IDLE_STACK_SIZE
default 512 if SOC_GECKO_PM_BACKEND_PMGR
configdefault NUM_METAIRQ_PRIORITIES
default 1 if BT_SILABS_EFR32
endif