From: Luis R. Rodriguez Date: Sat, 14 Nov 2009 09:42:18 -0800 Subject: [ath9k-devel] ath9k: DMA failed to stop in 10 ms In-Reply-To: <50d9f33a0911140741o2fb5e2f0x34ae4842ddc4867c@mail.gmail.com> References: <20091112152600.GA7562@sig21.net> <20091112181045.GA8839@sig21.net> <43e72e890911121013t7273c09fybff75fa2484cf07c@mail.gmail.com> <43e72e890911121014r13705ac0of8db341749bca528@mail.gmail.com> <20091112195437.GA11611@sig21.net> <50d9f33a0911130822y16e94817q42166bb69499e91@mail.gmail.com> <20091113173507.GE3865@tux> <50d9f33a0911140741o2fb5e2f0x34ae4842ddc4867c@mail.gmail.com> Message-ID: <43e72e890911140942x3bd8d1dah74484f5dd6f415f9@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Sat, Nov 14, 2009 at 7:41 AM, Neil Wilson wrote: > 2009/11/13 Luis R. Rodriguez : >> I'll see if I can get compat-wireless tested to enable debug if you >> don't want to compile wireless-testing. > > > I've brought up compat-wireless synced to today's wireless-testing to > try out the new drivers. I'm not getting the DMA failures with that > ath9k driver (srcversion: ? ? A274B26D86317453E48E6A4), Great to hear. > but then the > speeds the driver is syncing at are between 2.0 Mbit/sec and 11 > Mbit/sec about six inches from a 40 Mhz 802.11n AP. Distance and room distortion actually helps with dual stream devices, try at farther distances. If you want to try up close you can try hacked up concoctions like my little copper-taped bag: http://bombadil.infradead.org/~mcgrof/images/copper-tape-on-bag.jpg > But hey, it's working! > > > ?I am seeing a pause in throughput now rather than a failure when the > network is scanned. > > 64 bytes from 192.168.2.1: icmp_seq=762 ttl=64 time=1.95 ms > 64 bytes from 192.168.2.1: icmp_seq=763 ttl=64 time=2.11 ms > 64 bytes from 192.168.2.1: icmp_seq=764 ttl=64 time=4375 ms > 64 bytes from 192.168.2.1: icmp_seq=765 ttl=64 time=3375 ms > 64 bytes from 192.168.2.1: icmp_seq=766 ttl=64 time=2375 ms > 64 bytes from 192.168.2.1: icmp_seq=767 ttl=64 time=1375 ms > 64 bytes from 192.168.2.1: icmp_seq=768 ttl=64 time=357 ms > 64 bytes from 192.168.2.1: icmp_seq=769 ttl=64 time=2.05 ms > 64 bytes from 192.168.2.1: icmp_seq=770 ttl=64 time=2.24 ms > > The pauses can be replicated by executing: > > sudo iw dev wlan0 scan If you leave your home channel you cannot be present for data on it. One way to address this is to scan on each target channel and come back the home channel, and repeat this for every channel you have to scan. This is only done with nl80211 though which you would have to enable manually through a wpa_supplicant configuration file or by editing your wpa_supplicant dbus service file and enabling new git-version wpa_supplicant options which are documented on the wireless wiki [1]. Let us know if that helps. Luis [1] http://bombadil.infradead.org/~mcgrof/images/copper-tape-on-bag.jpg Luis