Skip to contentSkip to conversation

ath20k blocks other devices

DISCUSSION Brummfax 4 participants 9 messages May 15, 2015 – May 22, 2015 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore

Brummfax

author
#0 lore raw

Hi everybody,

I bought a new Acer Aspire VN7-571G for my parents. As the new QCA6174 Qualcomm Atheros Wifi/bluetooth (also known as QCNFA344) device is in use, I could not use Wifi with the usual Ubuntu 15.04 installation. Following
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1383184/comments/115 I compiled the new kernel with the ath10k driver and everything worked nicely at home with my Fritzbox 7490 router using the 5GHz band. At my parents place with a Fritzbox 3170 router I encounter the following problem. As soon as Ubuntu is connected to Wifi (using the 2,4 GHz band as there is no 5GHz band), other devices cannot connect to Wifi anymore. The ath10k driver blocks all other devices (Smartphones running Android, iPads) except for my personal laptop with a standard Ubuntu 14.10 system which can connect to Wifi for a couple of minutes before being disconnected as well. I can connect again but will loose the connection after a couple of minutes. I've also installed Windows 8.1 on the Acer Aspire, and if I connect to Wifi using Windows, these problems disappear, i.e. all other devices can also connect to Wifi without any problems. I've also not seen these problems at home which could be related to the fact that the Acer Aspire was using the 5GHz band while the other devices where using the 2,4GHz band.

Running "cat /var/log/syslog | grep ath10k" after installation, I got 3 errors because of missing firmware:
/lib/firmware/ath10k/QCA6174/hw2.1/board-pci-168c:003e:105b:e08e.bin /lib/firmware/ath10k/QCA6174/hw2.1/firmware-5.bin lib/firmware/ath10k/cal-pci-0000:03:00.0.bin

The first two messages disappeared after running
sudo cp board.bin board-pci-168c:003e:105b:e08e.bin
sudo cp firmware-4.bin firmware-5.bin
in the /lib/firmware/ath10k/QCA6174/hw2.1-directory. I could even delete board.bin and firmware-4.bin without loosing Wifi connectivity. At the moment these files are still there, but seem to be useless. Nevertheless "modinfo ath10k_pci" shows that only board.bin and firmware-4.bin from the hw2.1-directory are used. Very strange! I use the firmware extracted from my Windows installation using firmware provided by Acer's support page.

Any help would be appreciated!
Best wishes,
Sven

PS: Bluetooth is still not working even though its turned on and shown as active. But I can't send or receive files.

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#1 lore raw
Quoted 14 lines · Brummfax

Hi everybody,

I bought a new Acer Aspire VN7-571G for my parents. As the new QCA6174 Qualcomm Atheros Wifi/bluetooth (also known as QCNFA344) device is in use, I could not use Wifi with the usual Ubuntu 15.04 installation. Following
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1383184/comments/115 I compiled the new kernel with the ath10k driver and everything worked nicely at home with my Fritzbox 7490 router using the 5GHz band. At my parents place with a Fritzbox 3170 router I encounter the following problem. As soon as Ubuntu is connected to Wifi (using the 2,4 GHz band as there is no 5GHz band), other devices cannot connect to Wifi anymore. The ath10k driver blocks all other devices (Smartphones running Android, iPads) except for my personal laptop with a standard Ubuntu 14.10 system

Quoted 8 lines

which can connect to Wifi for a couple of minutes before being disconnected as well. I can connect again but will loose the connection after a couple of minutes. I've also installed Windows 8.1 on the Acer Aspire, and if I connect to Wifi using Windows, these problems disappear, i.e. all other devices can also connect to Wifi without any problems. I've also not seen these problems at home which could be related to the fact that the Acer Aspire was using the 5GHz band while the other devices where using the 2,4GHz band.

Can you get some sniff logs and possibly wpa_supplicant verbose logs from, e.g. another linux-based client? At this point I don't have any data to draw conclusions from. Is the network encrypted? Can you try seeing if open network also yields the same behaviour?

Logs/traces from ath10k client itself would be also helpful. You can read more about getting these here:
https://wireless.wiki.kernel.org/en/users/drivers/ath10k/debug#tracing

Quoted 6 lines

Running "cat /var/log/syslog | grep ath10k" after installation, I got 3 errors because of missing firmware:
/lib/firmware/ath10k/QCA6174/hw2.1/board-pci-168c:003e:105b:e08e.bin /lib/firmware/ath10k/QCA6174/hw2.1/firmware-5.bin lib/firmware/ath10k/cal-pci-0000:03:00.0.bin

Quoted 10 lines

The first two messages disappeared after running
sudo cp board.bin board-pci-168c:003e:105b:e08e.bin
sudo cp firmware-4.bin firmware-5.bin
in the /lib/firmware/ath10k/QCA6174/hw2.1-directory. I could even delete board.bin and firmware-4.bin without loosing Wifi connectivity. At the moment these files are still there, but seem to be useless. Nevertheless "modinfo ath10k_pci" shows that only board.bin and firmware-4.bin from the hw2.1-directory are used. Very strange! I use the firmware extracted from my Windows installation using firmware provided by Acer's support page.

There's a slight bug in firmware file advertisement in ath10k_pci hence modinfo tells you firmware-4.bin is the latest support for qca6174 while firmware-5.bin for qca988x. This is incorrect - both chips support firmware-5.bin in the ath10k git master branch. ath10k tries to load newer firmware binaries first and falls back to older. Nothing to worry about now though.

Michał

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#2 lore raw

Hi,
Just to share that this is not an isolate case, I suffer from the exact same problem with a Clevo P751ZM laptop and a Linksys WR610N v1 router.
I'll try to help, adding debug info to this thread, as soon as I can.

Quoted 65 lines · Michal Kazior
Quoted 14 lines · Brummfax

Hi everybody,

I bought a new Acer Aspire VN7-571G for my parents. As the new QCA6174 Qualcomm Atheros Wifi/bluetooth (also known as QCNFA344) device is in use, I could not use Wifi with the usual Ubuntu 15.04 installation. Following
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1383184/comments/115 I compiled the new kernel with the ath10k driver and everything worked nicely at home with my Fritzbox 7490 router using the 5GHz band. At my parents place with a Fritzbox 3170 router I encounter the following problem. As soon as Ubuntu is connected to Wifi (using the 2,4 GHz band as there is no 5GHz band), other devices cannot connect to Wifi anymore. The ath10k driver blocks all other devices (Smartphones running Android, iPads) except for my personal laptop with a standard Ubuntu 14.10 system

Quoted 8 lines

which can connect to Wifi for a couple of minutes before being disconnected as well. I can connect again but will loose the connection after a couple of minutes. I've also installed Windows 8.1 on the Acer Aspire, and if I connect to Wifi using Windows, these problems disappear, i.e. all other devices can also connect to Wifi without any problems. I've also not seen these problems at home which could be related to the fact that the Acer Aspire was using the 5GHz band while the other devices where using the 2,4GHz band.

Can you get some sniff logs and possibly wpa_supplicant verbose logs from, e.g. another linux-based client? At this point I don't have any data to draw conclusions from. Is the network encrypted? Can you try seeing if open network also yields the same behaviour?

Logs/traces from ath10k client itself would be also helpful. You can read more about getting these here:
https://wireless.wiki.kernel.org/en/users/drivers/ath10k/debug#tracing

Quoted 6 lines

Running "cat /var/log/syslog | grep ath10k" after installation, I got 3 errors because of missing firmware:
/lib/firmware/ath10k/QCA6174/hw2.1/board-pci-168c:003e:105b:e08e.bin /lib/firmware/ath10k/QCA6174/hw2.1/firmware-5.bin lib/firmware/ath10k/cal-pci-0000:03:00.0.bin

Quoted 10 lines

The first two messages disappeared after running
sudo cp board.bin board-pci-168c:003e:105b:e08e.bin
sudo cp firmware-4.bin firmware-5.bin
in the /lib/firmware/ath10k/QCA6174/hw2.1-directory. I could even delete board.bin and firmware-4.bin without loosing Wifi connectivity. At the moment these files are still there, but seem to be useless. Nevertheless "modinfo ath10k_pci" shows that only board.bin and firmware-4.bin from the hw2.1-directory are used. Very strange! I use the firmware extracted from my Windows installation using firmware provided by Acer's support page.

There's a slight bug in firmware file advertisement in ath10k_pci hence modinfo tells you firmware-4.bin is the latest support for qca6174 while firmware-5.bin for qca988x. This is incorrect - both chips support firmware-5.bin in the ath10k git master branch. ath10k tries to load newer firmware binaries first and falls back to older. Nothing to worry about now though.

Michał

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Signature · 6 lines
ECosta

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#3 lore raw

I just tested and indeed - once I connect to my 5Ghz AP with ath10k, my phone loses connection to it and can no longer reestablish it unless I disconnect ath10k.

(Asus RT-AC66R, Alienware 15 N1525 QCA6174, kvalo's tree)

Quoted 76 lines · Eduardo Costa

Hi,
Just to share that this is not an isolate case, I suffer from the exact same problem with a Clevo P751ZM laptop and a Linksys WR610N v1 router.
I'll try to help, adding debug info to this thread, as soon as I can.

Quoted 59 lines · Michal Kazior
Quoted 14 lines · Brummfax

Hi everybody,

I bought a new Acer Aspire VN7-571G for my parents. As the new QCA6174 Qualcomm Atheros Wifi/bluetooth (also known as QCNFA344) device is in use, I could not use Wifi with the usual Ubuntu 15.04 installation. Following
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1383184/comments/115 I compiled the new kernel with the ath10k driver and everything worked nicely at home with my Fritzbox 7490 router using the 5GHz band. At my parents place with a Fritzbox 3170 router I encounter the following problem. As soon as Ubuntu is connected to Wifi (using the 2,4 GHz band as there is no 5GHz band), other devices cannot connect to Wifi anymore. The ath10k driver blocks all other devices (Smartphones running Android, iPads) except for my personal laptop with a standard Ubuntu 14.10 system

Quoted 8 lines

which can connect to Wifi for a couple of minutes before being disconnected as well. I can connect again but will loose the connection after a couple of minutes. I've also installed Windows 8.1 on the Acer Aspire, and if I connect to Wifi using Windows, these problems disappear, i.e. all other devices can also connect to Wifi without any problems. I've also not seen these problems at home which could be related to the fact that the Acer Aspire was using the 5GHz band while the other devices where using the 2,4GHz band.

Can you get some sniff logs and possibly wpa_supplicant verbose logs from, e.g. another linux-based client? At this point I don't have any data to draw conclusions from. Is the network encrypted? Can you try seeing if open network also yields the same behaviour?

Logs/traces from ath10k client itself would be also helpful. You can read more about getting these here:
https://wireless.wiki.kernel.org/en/users/drivers/ath10k/debug#tracing

Quoted 6 lines

Running "cat /var/log/syslog | grep ath10k" after installation, I got 3 errors because of missing firmware:
/lib/firmware/ath10k/QCA6174/hw2.1/board-pci-168c:003e:105b:e08e.bin /lib/firmware/ath10k/QCA6174/hw2.1/firmware-5.bin lib/firmware/ath10k/cal-pci-0000:03:00.0.bin

Quoted 10 lines

The first two messages disappeared after running
sudo cp board.bin board-pci-168c:003e:105b:e08e.bin
sudo cp firmware-4.bin firmware-5.bin
in the /lib/firmware/ath10k/QCA6174/hw2.1-directory. I could even delete board.bin and firmware-4.bin without loosing Wifi connectivity. At the moment these files are still there, but seem to be useless. Nevertheless "modinfo ath10k_pci" shows that only board.bin and firmware-4.bin from the hw2.1-directory are used. Very strange! I use the firmware extracted from my Windows installation using firmware provided by Acer's support page.

There's a slight bug in firmware file advertisement in ath10k_pci hence modinfo tells you firmware-4.bin is the latest support for qca6174 while firmware-5.bin for qca988x. This is incorrect - both chips support firmware-5.bin in the ath10k git master branch. ath10k tries to load newer firmware binaries first and falls back to older. Nothing to worry about now though.

Quoted 6 lines

Michał

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Quoted 7 lines

--
ECosta

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#4 lore raw
Quoted 5 lines · Anton Romanov

I just tested and indeed - once I connect to my 5Ghz AP with ath10k, my phone loses connection to it and can no longer reestablish it unless I disconnect ath10k.

(Asus RT-AC66R, Alienware 15 N1525 QCA6174, kvalo's tree)

Could you stay connected stable on 2,4 GHz?
If so, your scenario is the opposite of reported.

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#5 lore raw
Quoted 8 lines · Michal Kazior

Can you get some sniff logs and possibly wpa_supplicant verbose logs from, e.g. another linux-based client? At this point I don't have any data to draw conclusions from. Is the network encrypted? Can you try seeing if open network also yields the same behaviour?

Logs/traces from ath10k client itself would be also helpful. You can read more about getting these here:
https://wireless.wiki.kernel.org/en/users/drivers/ath10k/debug#tracing

I have some info to share and help on analysis.

My setup:
Laptop w/Killer card - Clevo P751ZM [4.1.0-rc1-wl-ath+ (from kvallo fork)] Laptop Lenovo T400 [3.13.0-52-generic]
Andoird phone Samsung G S3 [Cyanogen]

I'v collected a tcp dump on all 3 devices, wpa_supplicant on 2 laptops and trace on P751ZM.
All this starting when the first one was not connected to my wireless AP, then I connect it and wait until two other devices lose their connection.

Find files on: https://www.dropbox.com/sh/tdjf1m06rdx610f/AADuxvtZVCysDANnyFK1NKNHa?dl=0

Let me know if additional help/info is needed.

Additionally, I'v tried with open network and the problem remains.

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#6 lore raw
Quoted 11 lines · Eduardo Costa
Quoted 8 lines · Michal Kazior

Can you get some sniff logs and possibly wpa_supplicant verbose logs from, e.g. another linux-based client? At this point I don't have any data to draw conclusions from. Is the network encrypted? Can you try seeing if open network also yields the same behaviour?

Logs/traces from ath10k client itself would be also helpful. You can read more about getting these here:
https://wireless.wiki.kernel.org/en/users/drivers/ath10k/debug#tracing

I have some info to share and help on analysis.

[...]

Can you guys try https://patchwork.kernel.org/patch/6387631/ , please?

Michał

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#7 lore raw

Yeah, I'd like to confirm here as well that this indeed fixed this problem for me.

Quoted 17 lines · Michal Kazior
Quoted 11 lines · Eduardo Costa
Quoted 8 lines · Michal Kazior

Can you get some sniff logs and possibly wpa_supplicant verbose logs from, e.g. another linux-based client? At this point I don't have any data to draw conclusions from. Is the network encrypted? Can you try seeing if open network also yields the same behaviour?

Logs/traces from ath10k client itself would be also helpful. You can read more about getting these here:
https://wireless.wiki.kernel.org/en/users/drivers/ath10k/debug#tracing

I have some info to share and help on analysis.

[...]

Can you guys try https://patchwork.kernel.org/patch/6387631/ , please?

Quoted 6 lines

Michał

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k