From owner-svn-src-all@FreeBSD.ORG Mon Oct 28 17:17:04 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2396F599; Mon, 28 Oct 2013 17:17:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x22f.google.com (mail-qc0-x22f.google.com [IPv6:2607:f8b0:400d:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A4C9B2EC3; Mon, 28 Oct 2013 17:17:03 +0000 (UTC) Received: by mail-qc0-f175.google.com with SMTP id e16so3731260qcx.34 for ; Mon, 28 Oct 2013 10:17:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ZmpnKkER7jE3ZeyjzmB44Vtl0/qLUltiWH4gkM62TXE=; b=HOmspQ1e4r2bIkwMjStsxRmlmiBfuyxWTRTyjA5dbrQ/vjII0alWUApZ3INlu7JbgK D8SS3uCDhi0xMNLbmKmEPf8rpimvTSRWK9IhdvE9mO80xbXgMh01c90h/Tj/NKXHSsxg iKsM8BhM6ng2YxmHqWuc6I3F8k0YyKLjcgFcouBlgIRJSI3HsuWV7EI6THti9xa2B9D1 cn+4vageve5PA/d5f4uVzYbPkmne42+rbOtMQvFCb8HKywyAikJDLgeiHaRSZsXAmNDB zii8egX0A9Y5FVlgk/WmcimBOjSyCXbfkKAibkkuaBatI9oCE5DR0Un+YAarpslkmy6v VwJQ== MIME-Version: 1.0 X-Received: by 10.224.36.201 with SMTP id u9mr30882587qad.76.1382980622806; Mon, 28 Oct 2013 10:17:02 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Mon, 28 Oct 2013 10:17:02 -0700 (PDT) In-Reply-To: References: <201310251944.r9PJis6q004419@svn.freebsd.org> <20131027101106.GA2843@mole.fafoe.narf.at> Date: Mon, 28 Oct 2013 10:17:02 -0700 X-Google-Sender-Auth: EKOvAbwGqKcTw383jviVFwzcMR8 Message-ID: Subject: Re: svn commit: r257133 - head/sys/dev/iwn From: Adrian Chadd To: Stefan Farfeleder Content-Type: text/plain; charset=ISO-8859-1 Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" 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: Mon, 28 Oct 2013 17:17:04 -0000 Ping, any response? I'd like to narrow down what's going on here. Thanks! -adrian On 27 October 2013 09:04, Adrian Chadd wrote: > Hm, ok. > > Can you compile it with IWN_DEBUG and IEEE80211_DEBUG, then do this: > > sysctl dev.iwn.0.debug=0x1 > wlandebug +rate > > I'd like to see what the selected rate is and what the logged reason > for failing to transmit is. > > I have a 5100 and it works totally fine for me. > > Thanks! > > > > -adrian > > > On 27 October 2013 03:11, 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. >> >> Stefan