Skip to content

Instantly share code, notes, and snippets.

@Samffy
Last active October 31, 2024 16:13
Show Gist options
  • Save Samffy/97cb1dd9cb89f5ac29ac4af2affd43f2 to your computer and use it in GitHub Desktop.
Save Samffy/97cb1dd9cb89f5ac29ac4af2affd43f2 to your computer and use it in GitHub Desktop.
Dell XPS 13 9360 : Ubuntu Wifi disconnection

I encounter wifi disonnection problem on a Dell XPS 13 9360. Here is the solution I used to fix this bad behavior.

Which wifi card version is installed ?

lspci | grep -i net

3a:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)

Here, we have the QCA6174 model.

Retrieve last driver version on :

https://github.com/kvalo/ath10k-firmware

Replace wifi firmware firmware-6.bin

cd /lib/firmware/ath10k/QCA6174/hw3.0
sudo cp firmware-6.bin firmware-6.bin.backup
sudo cp <downloaded_file> firmware-6.bin

Update path using your wifi card model : /lib/firmware/ath10k/<wifi_card_model>/hw3.0

Reload drivers

sudo modprobe -r ath10k_pci ath10k_core
sudo modprobe ath10k_pci
sudo modprobe ath10k_core
@halfer53
Copy link

This saved my life thanks

@Samffy
Copy link
Author

Samffy commented Sep 30, 2019

You're welcome.
I'm glad these notes could help you @halfer53.

@kezhang15
Copy link

Thank you very much! At first, I replaced the firmware-6.bin but the issue still remained. Then I tried to replace the whole QCA6174 folder. It worked out!!!

@ckoller
Copy link

ckoller commented Nov 26, 2019

How could you replace the folder? When I try to replace the QCA6174 folder and reload the drivers the internet is not working. Also the folder structure of QCA6174 from git looks nothing like the current one and there is no firmware-6.bin file.

Edit: I followed the instructions from here and it worked.

@Samffy
Copy link
Author

Samffy commented Nov 30, 2019

Happy that you found a solution that work for you @ckroller, and thanks for your feedback.

In case it can help someone else, in the github repository, you can find the bin files in multiples versions, so there are many folders that you can search in, regarding the version you want to use.
For example in my case, at this time, the last stable version is here : https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0/4.4.1

@mherrmann
Copy link

I also have a Dell XPS 13 9360. The files in the Kvalo repository did not work for me. (I tried almost all of them.) What did work was for me to downgrade to the firmware files that were shipped with Debian 9. I'm now on Debian 10, but thankfully they still seem to work.

@sumezawa
Copy link

Thank you @Samffy.
Ubuntu 20.04.3 LTS and Dell XPS 13 9360 also ran into this issue. I didn't know what .bin file to delete so I tested a few combinations. The following .bin files fixed my wifi:

  • download the QCA6174 directory from kvalo
  • keep 2.1 entirely
  • keep 3.0/board-2.bin
  • keep 3.0/4.4.1's latest firmware file. as of 10 Decembre 2021, it is the October 1 file.
  • rename 2.1's firmware file to firmware-5.bin, rename 3.0's firmware file to firmware-6.bin. you can move firmware-6.bin to 3.0
  • put the QCA6174 directory in /lib/firmware/ath10k.
  • do the sudo modprobe stuff above

@Siddharth1006
Copy link

For lspci | grep -i net,
this is the output I get =>

00:14.3 Network controller: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] (rev 30)

Which folder should i edit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment