Date: Mon, 28 Oct 2013 10:17:02 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Stefan Farfeleder <stefanf@freebsd.org> Cc: "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org> Subject: Re: svn commit: r257133 - head/sys/dev/iwn Message-ID: <CAJ-VmomPj6hiKzGMZRYWRNbKC-r-vwz2%2BmfzpBuSB6Hxe4qCsQ@mail.gmail.com> In-Reply-To: <CAJ-VmomYxwD2gX1hubnQKKxUqo8Kvj%2BkVogmZQX4oj%2B_guk7Lw@mail.gmail.com> References: <201310251944.r9PJis6q004419@svn.freebsd.org> <20131027101106.GA2843@mole.fafoe.narf.at> <CAJ-VmomYxwD2gX1hubnQKKxUqo8Kvj%2BkVogmZQX4oj%2B_guk7Lw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ping, any response? I'd like to narrow down what's going on here. Thanks! -adrian On 27 October 2013 09:04, Adrian Chadd <adrian@freebsd.org> 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 <stefanf@freebsd.org> 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: <Intel WiFi Link 5100> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomPj6hiKzGMZRYWRNbKC-r-vwz2%2BmfzpBuSB6Hxe4qCsQ>