Bug 74591 - iwlwifi 7260 device frequently reconnects
Summary: iwlwifi 7260 device frequently reconnects
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P1 high
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-21 13:29 UTC by Berni Moses
Modified: 2014-06-08 15:52 UTC (History)
4 users (show)

See Also:
Kernel Version: 3.14.4-1-ARCH
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Some logs. (2.36 MB, application/gzip)
2014-04-21 13:29 UTC, Berni Moses
Details
tcpdump with monitor interface (91.71 KB, application/vnd.tcpdump.pcap)
2014-04-22 19:34 UTC, Berni Moses
Details
systemd log with the patched kernel (318.01 KB, text/x-log)
2014-05-12 18:19 UTC, Berni Moses
Details
disable beacon filtering (1.07 KB, patch)
2014-05-18 16:09 UTC, Emmanuel Grumbach
Details | Diff
dmesg with patch from comment 14 (102.46 KB, application/octet-stream)
2014-05-19 16:57 UTC, Berni Moses
Details

Description Berni Moses 2014-04-21 13:29:03 UTC
Created attachment 133211 [details]
Some logs.

Hi,

i bought a DELL XPS13 9333 (Haswell), Intel Core i7-4500U, 8GB RAM with a Intel Dual-Band Wireless-AC 7260 Adapter Card with Bluetooth 4.0 integrated (http://www.intel.com/content/www/us/en/wireless-products/dual-band-wireless-ac-7260-bluetooth.html).

I have installed Arch Linux on it and all worked out of the box. But after a while i experienced some problems with my wifi connection. It arbitrary reconnects very often. Sometimes after a reboot, sometimes after several hours of use, sometimes after standby, ...

I already searched around the web and found a similar looking bug: https://bugzilla.kernel.org/show_bug.cgi?id=70881

But with the kernel i use this problem is already fixed.

I have attached some logs: dmesg, journal, iw scan dump, tcpdump

Thanks for the help.
Comment 1 Berni Moses 2014-04-22 17:51:19 UTC
I've found another similar looking bug report, maybe its the same problem?

https://bugzilla.kernel.org/show_bug.cgi?id=72601
Comment 2 Emmanuel Grumbach 2014-04-22 18:33:58 UTC
it looks similar, but I am actually happy to have them in different bugs for now.
We can merge them later if needed.

Since you seem to know how to configure the monitor interface, can you please record the failure with the monitor interface?
I can't see any disconnection in your pcap capture.

Thanks!
Comment 3 Berni Moses 2014-04-22 19:34:20 UTC
Created attachment 133301 [details]
tcpdump with monitor interface

Attached is the tcpdump of the monitor interface. I hope this helps.

In the meantime i will test the old 22.1.7.0 firmware (a hint from Abrahm Scully https://bugzilla.redhat.com/show_bug.cgi?id=1087717).
Comment 4 Berni Moses 2014-05-02 22:35:37 UTC
Now i tested the old firmware version for a while (nearly 2 weeks) and i don't have these annoying disconnects until now.
Comment 6 Berni Moses 2014-05-10 14:57:03 UTC
This seems to fix the issue with the current firmware (tested 1 week without any error). Thanks.
Comment 7 Emmanuel Grumbach 2014-05-11 04:57:54 UTC
Root cause: uAPSD issue.
Comment 8 Berni Moses 2014-05-12 14:28:24 UTC
We have been glad too early... today the networkmanager triggered me to reenter the wireless lan password again (prefilled). I looked at the dmesg log and again i have to see many reconnects (more than 10 in about 5 minutes). That are not as many as before the patch (more than 60 reconnects in about 5 minutes).
Comment 9 Emmanuel Grumbach 2014-05-12 16:45:05 UTC
can you share your dmesg output?
Comment 10 Berni Moses 2014-05-12 17:05:49 UTC
Sorry i already rebooted, because i rely on a good internet connection.

It was the same log output like the one i already posted.

Do you think that it is another issue?
Comment 11 Emmanuel Grumbach 2014-05-12 17:44:10 UTC
you can attach the /var/log/messages this should include the latest logs.
Yes - I think it is something else.
Comment 12 Berni Moses 2014-05-12 18:19:43 UTC
Created attachment 135911 [details]
systemd log with the patched kernel

I have attached you my systemd log (wakeup to reboot).

Des reconnects starts arround "Mai 12 16:13:24".
Comment 13 Emmanuel Grumbach 2014-05-16 07:35:37 UTC
Can you please test with 3.15? Another user reported that this fixed his issue.

Another option is to apply http://www.spinics.net/lists/linux-wireless/msg121312.html on top of 3.14 (which Greg should do at some point), and put the newer firmware.

thanks
Comment 14 Emmanuel Grumbach 2014-05-18 16:09:24 UTC
Created attachment 136611 [details]
disable beacon filtering

This is a fix candidate for 3.13 / 3.14.

Please test.
Comment 15 Berni Moses 2014-05-18 20:47:18 UTC
Ok, i compiled the 3.15rc5 but i can not test it extensively, because with tjhis kernel version my touchpad does not work (it is not correctly recognized, with 3.14 i can blacklist i2c_hid module and it worked, but this workarround does not work here).

I currently compile the stock arch kernel with the attached patch and will test it the next days.
Comment 16 Berni Moses 2014-05-19 16:57:05 UTC
Created attachment 136781 [details]
dmesg with patch from comment 14

Sorry, bad try... next one please. ;)
Comment 17 Emmanuel Grumbach 2014-05-20 19:12:03 UTC
what is your supplicant's version?
Comment 18 Berni Moses 2014-05-20 19:20:11 UTC
The wpa_supplicant's version is 2.1

I am currently testing a patched 3.14.4 kernel with the 23.214.9.0 firmware.
Comment 19 Emmanuel Grumbach 2014-05-20 19:31:05 UTC
This one has real issues I think.
Can you take the latest master branch?

git clone git://w1.fi/srv/git/hostap.git
Comment 20 Berni Moses 2014-05-28 21:36:19 UTC
Ok, after another week of testing it seems that the new firmware (23.214.9.0) works like the old one (22.1.7.0).

I will verify this the next week.
Comment 21 Emmanuel Grumbach 2014-06-08 05:12:54 UTC
In input for me?
Comment 22 Berni Moses 2014-06-08 15:46:54 UTC
Hi,

now i have tested the new firmware for another week and have no disconnect at all. This seems to work really well. :)

Hopefully my touchpad problem will be fixed for 3.15 that i can use this kernel after release. ;)

Thanks for your help.

Note You need to log in before you can comment on or make changes to this bug.