svn commit: r257133 - head/sys/dev/iwn

Adrian Chadd adrian at freebsd.org
Mon Oct 28 17:17:04 UTC 2013


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 at 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 at 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


More information about the svn-src-head mailing list