From: Peter Stuge Date: Mon, 11 Jan 2010 16:03:39 +0100 Subject: [ath9k-devel] No probe response from AP after 500ms, disconnecting. In-Reply-To: <20091220125745.8234.qmail@stuge.se> References: <20091216172356.15849.qmail@stuge.se> <20091216174112.GD11461@tux> <20091216222157.28840.qmail@stuge.se> <20091216234308.GA425@tux> <20091218115708.14617.qmail@stuge.se> <20091218161854.GA6231@tux> <20091218200753.30718.qmail@stuge.se> <8e92b4100912182103n5e3402echbedb85ab62f28e57@mail.gmail.com> <20091220125745.8234.qmail@stuge.se> Message-ID: <20100111150339.21118.qmail@stuge.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hello again ath9k experts, Peter Stuge wrote: > > > So what could give us more information? > > > > If the issue is specific to AR5416 and power save, > > I don't think it is. Tonight I saw the problem a third time using > wireless-testing with power management off for the interface. This > time I also had Sujith's 6 patches from 2009-12-14 applied. > > 5k lines of debug=0xffffffff log is available at: > http://stuge.se/ath9kdisconn3_wltest+sujith.txt I am not getting any feedback about this issue. What can I do to help? I have been travelling the last few weeks and this issue results in what I would call severe connectivity issues. I also had an opportunity to meet with Felix Fietkau and discuss the problem with him. While he is very familiar with mac80211 in general and rate control in particular he could not help me understand the RX path of ath9k in detail. I applied a patch by Felix from Dec 5 for a rate control bug that affects master mode: http://patchwork.kernel.org/patch/68401/ http://patchwork.kernel.org/patch/68512/ This turns out to have significant negative impact on my connectivity in STA mode. The link rate constantly changes, and ping -f with the patch loses quite a lot of packets and eventually fails completely, while ping -f without the patch is perfectly reliable and will stay usable much longer. This problem may be unrelated to the disassociation/failure-to-reassociate issue, but maybe not. Felix emphasized the importance to run wpa_supplicant even if no WPA is being used, and pointed out that it is quite possible that a wifi interface can be disassociated because of RF environment changes - although we were both very surprised that the ath9k card has severe disassociation issues where my previous ipw2200 card never exhibited the same symptoms. I believe that my original problem lies in the RX path. For some reason, packets are not received, possibly by hardware, possibly because of settings or tuning that is not quite right. I would like some input from the experts before I pursue this further. How can I debug the ath9k RX path, starting in the lowest level radio layer and working up? Once in the PC I think it might be too late already, or I expect that the problem would be much more widespread. In the system where this occurs I am using mix-and-match antennae. I retrofitted this card into a ThinkPad replacing the ipw2200 card. I reused the old MAIN and AUX antennae and I added a third antenna which was delivered with and designed for this card. (Card and third antenna are original Apple parts.) A new clue is that once the interface has disassociated from an access point, it will never associate automatically again. I must manually down/up the interface, and then it will associate immediately. Since I never saw this behavior in exactly the same kernel with another mac80211 driver (ipw2200) the problem must be in the ath9k driver or in my "AR5416 MAC/BB Rev:2 AR5133 RF Rev:81" hardware. I will very much appreciate your input! //Peter