From owner-svn-src-all@FreeBSD.ORG Sun Oct 27 11:58:19 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4CAB2914 for ; Sun, 27 Oct 2013 11:58:19 +0000 (UTC) (envelope-from symbolics@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C17F9249C for ; Sun, 27 Oct 2013 11:58:18 +0000 (UTC) Received: from lemon ([80.7.17.14]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LwIuc-1VkZsi46CU-0184vu for ; Sun, 27 Oct 2013 12:58:11 +0100 Received: by lemon (Postfix, from userid 1001) id 576FDEB372; Sun, 27 Oct 2013 11:58:10 +0000 (GMT) Date: Sun, 27 Oct 2013 11:58:10 +0000 From: symbolics@gmx.com To: svn-src-all@freebsd.org Subject: Re: svn commit: r257133 - head/sys/dev/iwn Message-ID: <20131027115810.GA898@lemon> References: <201310251944.r9PJis6q004419@svn.freebsd.org> <20131027101106.GA2843@mole.fafoe.narf.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131027101106.GA2843@mole.fafoe.narf.at> X-Provags-ID: V03:K0:TrRXKdhpsEGp+FskgZx74YGHscwQorYfSbzTgjiFvXtATDU1MvN +yaNE8mHLIxu/eH5l9g0u8k1Hya9KeqazpQ7PV5nbJPSM5NRHweD6r87brgAPy2TKCK6Xbh P2BZwNAxelgh0hUp/JeQFd3zelBjyb3ZvJY2j2+S+Bla7u5qEpSQxKv8fAcaJ91PITSN7bX cTiS8tGCsOLb2OtkB3hfQ== X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Oct 2013 11:58:19 -0000 On Sun, Oct 27, 2013 at 11:11:07AM +0100, Stefan Farfeleder wrote: > On Fri, Oct 25, 2013 at 07:44:54PM +0000, Adrian Chadd wrote: > > Author: adrian > > Date: Fri Oct 25 19:44:53 2013 > > New Revision: 257133 > > URL: http://svnweb.freebsd.org/changeset/base/257133 > > > > Log: > > Temporarily disable multi-rate retry (link quality) and eliminate rate > > index lookups. > > > > * My recent(ish) change to iwn(4) and the net80211 rate control API to > > support 11n rates broke the link quality table use. So, until I or > > someone else decides to fix it, let's just disable it for now. > > > > * Teach iwn_tx_data_raw() to use the iwn_rate_to_plcp() function. > > > > * Eliminate two uses of the net80211 rate index lookup functions - they > > are only for legacy rates and they're not needed here. > > > > This fixes some invalid looking rate control TX issues that showed up > > on my 4965 but it doesn't fix the two TX hangs I've noticed. Those look > > like DMA related issues. > > > > Tested: > > > > * 4965, STA mode > > * 5100, STA mode > > Hi Adrian, > > this change completely broke iwn for me. It's a > > iwn0: mem 0xf1ffe000-0xf1ffffff irq 17 at device 0.0 on pci12 > > built-in device in a Dell Precision m4400. > > With this change, wpa_supplicant cannot associate any longer. In the > logs I see every few seconds > > Oct 27 10:57:37 mole wpa_supplicant[2256]: wlan0: Trying to associate with xx:xx:xx:xx:xx:xx (SSID='xx' freq=2427 MHz) > Oct 27 10:57:47 mole wpa_supplicant[2256]: wlan0: Authentication with xx:xx:xx:xx:xx:xx timed out. > Oct 27 10:57:47 mole wpa_supplicant[2256]: wlan0: CTRL-EVENT-DISCONNECTED bssid=xx:xx:xx:xx:xx:xx reason=3 locally_generated=1 > > If I revert just this revision based on a r257155 checkout, it works > again. Hi, I've also had similar or identical problems. iwn0: mem 0xd4400000-0xd4401fff <...> If I `ifconfig wlan0` often I see the interface associate and get an IP address and then immediately disconnect. --sym