Errors in make defconfig-ath10k .. Slow wifi with qualcomm Atheros QCA9377

Solution 1:

Official info: "The QCA9377 is a single-die wireless local area network (WLAN) and Bluetooth combination solution to support 1 × 1 802.11a/b/g/n/ac WLAN standards and Bluetooth 5.0 + HS, designed to deliver superior integration of WLAN/Bluetooth and low-energy technology."

One possible cause for slow wifi is interference between bluetooth and wifi. Before trying an old driver, try configuring your system with a current driver. This is a list of actions by increasing difficulty:

  1. Disabling bluetooth. You can do this via CLI with systemctl stop bluetooth, via GUI with Settings -> Bluetooth -> Move the slider at the top right, or perhaps via BIOS configuration.
  2. Getting closer to the router (at least to try).
  3. Changing firmware. This reports that "removing the /lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin file and rebooting helped. The system works with the previous firmware-5.bin."
  4. Changing WiFi band. Select a different SSID, or select the band via nm-connection-editor. See this and this. See this to show the relevance, even if possibly not your case.
  5. Updating to kernel 5.11.
  6. Changing WiFi channel. See this and this; requires recompiling the driver.
  7. Changing WiFi antenna. For some adapters, it is possible to select the antenna to use. I am not sure yours has more than one antenna. You could check with modinfo ath10k_pci, it will show all parms that can be selected.

Please post the output of the following commands:

$ modinfo ath10k_pci
$ iw dev
$ ifconfig -a
$ inxi -F
$ dmesg | grep ath

As per this recent post, there are not so many options for the driver: irq_mode, reset_mode. Perhaps now there are a few more.

If alternatives above don't work, you could try

  1. Using a backport, as you tried. To solve this part, please post more info. In which directory you are compiling? What are the permissions? See this old answer.

Sources:

  1. ath10k installation
  2. My Qualcomm Atheros QCA9377 Wireless adopter is not working in Ubuntu 20.04 LTS (Vendor: Lenovo Model:E41-25)
  3. https://forum.openwrt.org/t/ath10k-pci-firmware-lacks-feature-flag-indicating-a-retry-limit-of-2-is-ok-requested-limit-4/79694
  4. More wifi issues - Qualcomm Atheros QCA6174 ath10k_pci
  5. https://www.dell.com/support/kbdoc/es-ar/000144425/killer-wireless-firmware-update-guide-for-ubuntu-systems
  6. https://ubuntuforums.org/showthread.php?t=2389285&page=2