[PATCH] b43: use rx desc underrun interrupt

Michael Büsch m at bues.ch
Sun Apr 21 10:51:42 EDT 2013


On Sun, 21 Apr 2013 15:27:49 +0100
Piotras <piotras at gmail.com> wrote:

> Based on BCM440X Programmer's Reference Guide that may or may not
> apply to DMA processor used in WLAN chipsets, B43_DMA32_RXSTATUS may
> be updated by hardware to point to the same descriptor as
> B43_DMA32_RXINDEX.
> 
> For DMA processor this means that no more free descriptors are
> available. However b43_dma_rx assumes no data needs to be processed
> (see how ring->current_slot is updated and used in loop condition on
> next interrupt). This could explain stalls.

Yes this is why it stalls. But how to fix this without additional counting?
I'd rather prefer wiping the whole ring in that case.

-- 
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20130421/9341395e/attachment.sig>


More information about the b43-dev mailing list