Skip to content

Instantly share code, notes, and snippets.

@Samffy
Last active December 28, 2022 22:37
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
@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.

@maieul
Copy link

maieul commented Apr 12, 2021

In /home/mrouquet/Téléchargements/ath10k-firmware-master/QCA6174/hw3.0/4.4.1, there is a lot of .bin. which should I use ?

@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

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