Skip to content

Instantly share code, notes, and snippets.

@schnell18
Created August 31, 2025 01:03
Show Gist options
  • Save schnell18/d488d352020ef361b526a758c6fe3760 to your computer and use it in GitHub Desktop.
Save schnell18/d488d352020ef361b526a758c6fe3760 to your computer and use it in GitHub Desktop.
Fix Ubuntu 24.04 Wifi7 driver issue
sudo dmesg | grep ath12k
# [ 6.100088] ath12k_pci 0000:06:00.0: BAR 0 [mem 0x81200000-0x813fffff 64bit]: assigned
# [ 6.100107] ath12k_pci 0000:06:00.0: enabling device (0000 -> 0002)
# [ 6.100266] ath12k_pci 0000:06:00.0: MSI vectors: 16
# [ 6.100270] ath12k_pci 0000:06:00.0: Hardware name: wcn7850 hw2.0
# [ 6.264622] mhi mhi0: Direct firmware load for ath12k/WCN7850/hw2.0/amss.bin failed with error -2
# [ 6.264640] ath12k_pci 0000:06:00.0: failed to set mhi state: POWER_ON(2)
# [ 6.264642] ath12k_pci 0000:06:00.0: failed to start mhi: -110
# [ 6.264643] ath12k_pci 0000:06:00.0: failed to power up :-110
# [ 6.285455] ath12k_pci 0000:06:00.0: failed to create soc core: -110
# line 7 indicates the firmware file is absent
# The fix is to download and install the latest Qualcomm Wifi 7 firmware as documented
# at: https://wireless.docs.kernel.org/en/latest/en/users/drivers/ath12k/installation.html
git clone https://git.codelinaro.org/clo/ath-firmware/ath12k-firmware
cd ath12k-firmware
wget https://github.com/qca/qca-swiss-army-knife/raw/master/tools/scripts/ath12k/ath12k-fw-repo
chmod 755 ath12k-fw-repo
sudo ./ath12k-fw-repo --install /lib/firmware
# NOTE: as of Ubuntu 24.04.01 (6.14.0-29-generic) rebuild kernel is unnecessary, justin install the firmware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment