Skip to content

Commit 1b3feec

Browse files
benothmn-stkartben
authored andcommitted
soc: stm32wbax: hci_if: Increase the link layer thread priority
Increase the link layer thread priority to be more than the BLE CTRL thread and more than the Zephyr BLE stack threads. Signed-off-by: Nidhal BEN OTHMEN <[email protected]>
1 parent 43c00e5 commit 1b3feec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

soc/st/stm32/stm32wbax/hci_if/host_stack_if.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ uint8_t ll_state_busy;
2121
#define BLE_CTRL_THREAD_STACK_SIZE (256 * 7)
2222
#define LL_THREAD_STACK_SIZE (256 * 7)
2323
#define BLE_CTRL_THREAD_PRIO (14)
24-
#define LL_THREAD_PRIO (14)
24+
/* The LL thread has higher priority than the BLE CTRL thread and the Zephyr BLE stack threads */
25+
#define LL_THREAD_PRIO (4)
2526

2627
K_THREAD_STACK_DEFINE(ble_ctrl_work_area, BLE_CTRL_THREAD_STACK_SIZE);
2728
K_THREAD_STACK_DEFINE(ll_work_area, LL_THREAD_STACK_SIZE);

0 commit comments

Comments
 (0)