Re: [ath9k-devel] ath9k: race conditions in dma

2010-11-03 Thread Björn Smedman
2010/11/2 Björn Smedman bjorn.smed...@venatech.se: On Mon, Nov 1, 2010 at 4:43 PM, Ben Gamari bgam...@gmail.com wrote: On Mon, 1 Nov 2010 16:17:23 +0100, Björn Smedman bjorn.smed...@venatech.se wrote: Hi all, I have an application that creates and destroys a lot of ap vifs and does a lot

Re: [ath9k-devel] ath9k: race conditions in dma

2010-11-03 Thread Ben Gamari
On Tue, 2 Nov 2010 17:55:22 +0100, Björn Smedman bjorn.smed...@venatech.se wrote: Ben, if you can easily trigger these problems on wireless-testing, could you test with my patch and see if it helps? I'm especially interested to see if it really fixes problem 1. The only time I've been able

Re: [ath9k-devel] ath9k: race conditions in dma

2010-11-02 Thread Björn Smedman
On Mon, Nov 1, 2010 at 4:43 PM, Ben Gamari bgam...@gmail.com wrote: On Mon, 1 Nov 2010 16:17:23 +0100, Björn Smedman bjorn.smed...@venatech.se wrote: Hi all, I have an application that creates and destroys a lot of ap vifs and does a lot of monitor frame injection. The recent ath9k rx

[ath9k-devel] ath9k: race conditions in dma

2010-11-01 Thread Björn Smedman
Hi all, I have an application that creates and destroys a lot of ap vifs and does a lot of monitor frame injection. The recent ath9k rx locking fixes have helped with stability in this use-case but there still seems to be some tx/beacon related race condition(s). These manifests themselves as

Re: [ath9k-devel] ath9k: race conditions in dma

2010-11-01 Thread Ben Gamari
On Mon, 1 Nov 2010 16:17:23 +0100, Björn Smedman bjorn.smed...@venatech.se wrote: Hi all, I have an application that creates and destroys a lot of ap vifs and does a lot of monitor frame injection. The recent ath9k rx locking fixes have helped with stability in this use-case but there still

Re: [ath9k-devel] ath9k: race conditions in dma

2010-11-01 Thread Björn Smedman
On Mon, Nov 1, 2010 at 4:43 PM, Ben Gamari bgam...@gmail.com wrote: On Mon, 1 Nov 2010 16:17:23 +0100, Björn Smedman bjorn.smed...@venatech.se wrote: Hi all, I have an application that creates and destroys a lot of ap vifs and does a lot of monitor frame injection. The recent ath9k rx

Re: [ath9k-devel] ath9k: race conditions in dma

2010-11-01 Thread Björn Smedman
On Mon, Nov 1, 2010 at 4:43 PM, Ben Gamari bgam...@gmail.com wrote: On Mon, 1 Nov 2010 16:17:23 +0100, Björn Smedman bjorn.smed...@venatech.se wrote: Hi all, I have an application that creates and destroys a lot of ap vifs and does a lot of monitor frame injection. The recent ath9k rx

Re: [ath9k-devel] ath9k: race conditions in dma

2010-11-01 Thread Björn Smedman
On Mon, Nov 1, 2010 at 4:43 PM, Ben Gamari bgam...@gmail.com wrote: On Mon, 1 Nov 2010 16:17:23 +0100, Björn Smedman bjorn.smed...@venatech.se wrote: Hi all, I have an application that creates and destroys a lot of ap vifs and does a lot of monitor frame injection. The recent ath9k rx

Re: [ath9k-devel] ath9k: race conditions in dma

2010-11-01 Thread Luis R. Rodriguez
2010/11/1 Björn Smedman bjorn.smed...@venatech.se: On Mon, Nov 1, 2010 at 4:43 PM, Ben Gamari bgam...@gmail.com wrote: On Mon, 1 Nov 2010 16:17:23 +0100, Björn Smedman bjorn.smed...@venatech.se wrote: Hi all, I have an application that creates and destroys a lot of ap vifs and does a lot

Re: [ath9k-devel] ath9k: race conditions in dma

2010-11-01 Thread Felix Fietkau
On 2010-11-01 5:44 PM, Luis R. Rodriguez wrote: 2010/11/1 Björn Smedman bjorn.smed...@venatech.se: On Mon, Nov 1, 2010 at 4:43 PM, Ben Gamari bgam...@gmail.com wrote: On Mon, 1 Nov 2010 16:17:23 +0100, Björn Smedman bjorn.smed...@venatech.se wrote: Hi all, I have an application that

Re: [ath9k-devel] ath9k: race conditions in dma

2010-11-01 Thread Björn Smedman
2010/11/1 Felix Fietkau n...@openwrt.org My TX PCU patches for ath9k are not merged yet, try those or wait until John merges them. They are merged in OpenWrt. Björn, which OpenWrt revision did you use in your tests? - Felix I'm based on openwrt/tr...@23720 when I run code. But when I read

Re: [ath9k-devel] ath9k: race conditions in dma

2010-11-01 Thread Peter Stuge
Björn Smedman wrote: 1. TX DMA hangs under simultaneous high RX and TX load 2. TX is completely hung but chip is never reset I have also observed both of these behaviors with just a standard hostapd single VIF configuration. Thanx Ben, it's a relief to know I'm not the only one