Send long-running tasks to a dedicated low-priority workqueue. This shouldn't increase memory usage since by doing this, we get rid of the ECC processing thread. This should fix issues like #43811, since the system workqueue runs at a cooperative priority, and the new dedicated one runs at a pre-emptible priority. Fixes #43811 Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
10 lines
234 B
C
10 lines
234 B
C
/* hci_ecc.h - HCI ECC emulation */
|
|
|
|
/*
|
|
* Copyright (c) 2016 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
int bt_hci_ecc_send(struct net_buf *buf);
|
|
void bt_hci_ecc_supported_commands(uint8_t *supported_commands);
|