You are on page 1of 3

Random Ramblings

« Baikal, CardDAV, CalDAV and Raspberry Pi


FileHistory is skipping Files without notice / Microsoft hates The
Crystal Method »
Linux Wifi on Thinkpad E470
So wifey needed a new computer, and we bought a Thinkpad E470.

Which so far is running ok in Ubuntu 16.04 except the WIFI card.


Which is a big showstopper.

It seems the Thinkpad E470 comes with different Atheros 10k based
chipsets, and this one had a QCA9377. It seems the brand name is
Atheros Killer N1525 Wireless-AC , but I am not 100% sure. Support
for the QCA9377 Wlan was only recently added to various
distributions, as far as I know you need at least a kernel 4.8.
However even then the Wifi connection drops randomly. Googling
revealed that this is apparently a common bug (link in German).

After a dropout, manual reconnection is then required – in everyday


life this is quite annoying. This is apparently due to a firmware
crash. You can check if you are affected by this bug by

dmesg| grep ath10k

which should yield something like:

[ 715.689510] ath10k_pci 0000:05:00.0: firmware crashed! (uuid bf474904-06ea-4611-80b3-949e2ac31e80)


[ 715.689560] ath10k_pci 0000:05:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 17aa:0827
[ 715.689571] ath10k_pci 0000:05:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 715.691880] ath10k_pci 0000:05:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 5 features wowlan,ignore-otp,no-4addr-pad crc32 75d
[ 715.692947] ath10k_pci 0000:05:00.0: board_file api 2 bmi_id N/A crc32 6fc88fe7
[ 715.692963] ath10k_pci 0000:05:00.0: htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 715.694993] ath10k_pci 0000:05:00.0: firmware register dump:
[ 715.695012] ath10k_pci 0000:05:00.0: [00]: 0x05030000 0x000015B3 0x009860FA 0x00955B31

This behaviour is documented also here, but it seems no patch has


been issued. In the above linked thread on github, someone
observed that these connection dropouts occur only when frequency
changes are isssued by the router. I set a fixed frequency (i.e. Wifi
channel) on our AVM FRITZ!Box 7330, but this did not help at all.
Running Ubuntu 16.04, I also tried updating to a very recent
mainline kernel build (Kernel 4.11), however again this did not help
at all.

In the end, I gave up an ordered an Intel Wireless 8265. There is


support for this (link in German) one in Linux since Kernel 4.6.
Fortunately, the Wifi card can easily replaced on the Thinkpad E470,
since the card is socketed in an M.2 slot, and the notebook-case
itself is easy to open. Also, as the above link mentions, there seems
to be no hardware white-list, i.e. no restriction w.r.t. the choice of
the Wlan module.

Nevertheless, it is quite annoying that in the year 2017 there are


still these issues. Reminds me of the old days with ndiswrapper. If
you want to run Linux, you still need to do endless hours of research
before buying a notebook.

Which in this case I did, e.g. this compatibility test (link in German),
but they apparently missed that bug in the test. Note that the
Thinkapd E470 is also Ubuntu certified. I guess that says a lot about
the value of such kind of certification program.

Let’s see if the Intel Wifi will work…

*Update: The Intel Wifi card works without problem. No connection


losses anymore. Haven’t run any benchmarks w.r.t. WLAN
performance, but everything seems to work fine! You can say what
you want, but Intel’s open source policy is really excellent…“
Lade …

This entry was posted on Juni 11, 2017 at 4:42 pm and is filed under
Uncategorized. You can follow any responses to this entry through the RSS
2.0 feed. You can leave a response, or trackback from your own site.

3 Antworten to “Linux Wifi on Thinkpad E470”

Aravin Says:
Juli 11, 2017 um 1:07 am | Antwort

Hi, This is an excellent post. I am in exactly the same situation (Thinkpad


E470):

[ 5996.417306] ath10k_pci 0000:05:00.0: firmware crashed! (uuid


1d63d302-9638-43d0-bee2-9bf62f8ad429)

I will probably buy an intel wifi card as well. It would be super helpful if you
can share some tips on how to configure the intel wifi card. I dont know
much about linux internals.

MasterChief Says:
August 25, 2017 um 5:19 pm | Antwort

no need to configure anything in Linux. Just plug the new card in and
everything should work without any configuration.

libinx Says:
Dezember 12, 2017 um 12:08 am | Antwort

Hi, I have come up with this problem these days.

My new laptop is Lenovo ThinkPad e470c and Ubuntu was installed, I have
tried many many many methods to solve WiFi problem,but it doesn’t work. I
am deciding use your solution.

But I was wondering if e470c compile with intel wireless card?


Kommentar verfassen

Gib hier deinen Kommentar ein ...

Bloggen auf WordPress.com.


Entries (RSS) and Comments (RSS).
die Website weiterhin nutzt,
Schließen und Akzeptieren
dest du hier: Cookie-Richtlinie

You might also like