From: Stephen Gutknecht (hilltx) Date: Mon, 23 Feb 2009 08:28:21 -0800 Subject: [ath9k-devel] ar9102 client mode unstable, ping times climb and climb In-Reply-To: <18850.50019.673641.457098@gargle.gargle.HOWL> References: <455062.21418.qm@web55301.mail.re4.yahoo.com> <18850.50019.673641.457098@gargle.gargle.HOWL> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Mon, Feb 23, 2009 at 7:40 AM, Sujith wrote: > Stephen Gutknecht (hilltx) wrote: >> The ping time climbing seems fixed. Thank you. I assume it was this >> change related to the RTC clock of AR9100. Reference change: >> >> http://git.kernel.org/?p=linux/kernel/git/linville/wireless-testing.git;a=commitdiff;h=0cee9809976b35d7bd9eeb6bb7f32b8ac3fcd86d >> >> On kernel 2.6.28.6 with compat-wireless 2009-02-19. All who have put >> the AR9102 in client-mode seem to watch it quickly degrade to 0 or >> 1Mbps rate... which I do not see on a laptop with AR5418 MiniPCI card >> using same compat-wireless. >> >> Sujith or other developer tried ath9k on AP81 platform routers in client mode? >> > > I haven't tried using ath9k on routers. Do you use OpenWrt ? Yes. For OpenWRT, I have been attempting to identify and locate every retail router that uses AR9130/AR9132 paired with AR9102/AR9103/AR9104/AR9106 chip. I speculate this is known internally at Atheros as the "Howl". I have compiled a list of known retail routers: http://wiki.openwrt.org/AtherosAR9100 The GPL downloads for these routers includes binary kernel 2.6.15 madwifi customized by Atheros for which I have been unable to find complete open source code. The madwifi drivers emit these messages: ath_ahb: 0.9.4.5 (Atheros/multi-bss) Howl Revision ID 0xb5 wifi0: Atheros AR9100 WiSoC: mem=0xb80c0000, irq=2 Some routers also indicate "Howl Revision ID 0xb4" we have encountered. These routers are MIPS CPU instruction set and use the AHB bus for the ar910x chips. We have AP mode working with ath9k, but it is erratic and retrains rate every few seconds. Even if the retrains stop for a while, relatively slow throughput (1.2MB/s WAN to LAN is best I can achieve over wireless with 2009-02-19 compat-wireless). Client mode consistently drops to 1Mbps rate immediately after association as shown by iwconfig (have tried against both Atheros and Broadcom N and G routers). Currently, OpenWRT is fully installable (no need to open hardware) on: D-Link DIR-615 revision C1 (ar9102) Trendnet TEW-632BRP (ar9102) Trendnet TEW-652BRP (ar9102) Planex MZK-W04NU (ar9103) There are other brands and models of the commercialized AP81 platform that we have been able to run OpenWRT with the addition of hardware access to the internal console serial port. Work is still underway to assimilate them fully. I can only theorize that there are possible issues with ath9k on the slower MIPS CPU environment, some special registers these AHB chips require initialized, or ??. Note that CPU usage itself has been resolved as an issue, we do not see it go beyond 10% usage (there was an issue we had earlier with LED, but OpenWRT has patched to disable this for now). If there is any way I can help you familiarize yourself with OpenWRT compilation environment, please let me know. If you would like specific debug tests to be performed, please provide instructions. Thank you for your attention on the situation.