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:
Dedy Lansky <dlansky@codeaurora.org>
Loading
Please register or sign in to comment