Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 23379477 authored by Dedy Lansky's avatar Dedy Lansky Committed by Gerrit - the friendly Code Review server
Browse files

wil6210: ipa stop/wake queue based on outstanding packets



wil6210 doesn't use stop/wake net queue in IPA mode. This leads into
situations of IPA Tx queue getting full and eventually draining out
all memory.

To fix this, add outstanding Tx packets counter in wil6210 and invoke
stop/wake net queue when this counter reaches high/low watermarks.
IPA_WRITE_DONE is sent from IPA to notify wil6210 when a Tx is
complete, at which point wil6210 decrements outstanding_pkts counter.

Change-Id: Iaef7efeecb8d7a13a453297c08bc43e894bed174
Signed-off-by: default avatarDedy Lansky <dlansky@codeaurora.org>
parent 879f7556
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment