Skip to content
Commit 93d15996 authored by Dominik Chat's avatar Dominik Chat Committed by Carles Cufí
Browse files

drivers: bluetooth: hci: Add retries for IPC interface



Add HCI IPC retry handling in case of full IPC
queue. This mechanism improves reliability.

The ipc_service_send can return -ENOMEM in case
of full queue. If this happens the retries are
executed in order to wait for queue to empty
and not drop messages.
If the retry mechanism reaches maximum then
the error code is passed back to the host.

The change should improve the handling of
passing messages to full ipc and reduce
dropping of packets.

Signed-off-by: default avatarDominik Chat <dominik.chat@nordicsemi.no>
parent f4834436
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment