From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael =?UTF-8?B?QsO8c2No?= Date: Sun, 21 Apr 2013 16:51:42 +0200 Subject: [PATCH] b43: use rx desc underrun interrupt In-Reply-To: References: <20130420211223.640b7c5b@milhouse> <20130420215056.3d0b0dbb@milhouse> <20130421083822.5d6599e3@milhouse> Message-ID: <20130421165142.195c30eb@milhouse> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: b43-dev@lists.infradead.org On Sun, 21 Apr 2013 15:27:49 +0100 Piotras 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: