On Wed, Nov 06, 2013 at 09:17:46AM -0800, Adrian Chadd wrote:
> The TL;DR version - you need to keep the the final descriptor around
> for each hardware queue. The legacy madwifi/freebsd way of doing it
> was to keep the last descriptor that was handled. This wasn't enough.
> It needs to be per TX queue. You also must never program TxDP after
> you've programmed it once - you can only program it again after you've
> completely torn down TX DMA for the particular queue.

This is a goldmine -- thank you for taking the time to write it up!
I believe we can clean up ath5k's transmit loop a lot now...

> * read-and-clear bugs
> * PHY register read problems, and why ANI may occasionally look whacked

One thing at a time for me... but do we even want to know? :)

-- 
Bob Copeland %% www.bobcopeland.com
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to