a) This fixes a regression. In Q and earlier the linux-firmware package
provided ath9k_htc firmware (from upstream kernel.org linux-firmware).
With the split in R, I decided to no longer do that since firmware-
ath9k-htc provides the same fw but that was a mistake. linux-firmware
can't depend on firmware-ath9k-htc, that package is in universe. So the
fix is to go back to the old ways and have linux-firmware provide the
blobs. Additionally I added provides/conflicts/replaces to prevent
parallel installation of the two packages that provide the same
firmwares. Technically it would be possible since linux-firmware files
are in /usr/lib and compressed and open-ath9k-htc-firmware files are in
/lib and uncompressed but we don't want that.

For the record:
$ dpkg -L firmware-ath9k-htc  | grep ath9k_htc
/lib/firmware/ath9k_htc
/lib/firmware/ath9k_htc/htc_7010-1.4.0.fw
/lib/firmware/ath9k_htc/htc_9271-1.4.0.fw

Note that these firmware binaries haven't changed in 11 years

b) I personally can't test loadability, I don't have the HW. Hopefully the bug 
reporter can do that.
I've updated the test plan to be more thorough.


** Description changed:

  [ Impact ]
  
  The firmware ath9k_htc is missing in the package while advertised in the
  package description:
  
  > This package provides firmware used by Linux kernel drivers
  > ar5523, ar9170, ath3k, ath6kl, ath9k_htc, ath10k, ath11k,
  > ath12k, btqca, and wil6210.
  
  After upgrading from 24.04 to 26.04 my wireless dongle stopped to work.
  Had to install package "firmware-ath9k-htc" to get it back.
  
  Before LP: #1958518, the firmware was included in the package "linux-
  firmware": e.g. in questing
  
https://packages.ubuntu.com/search?mode=filename&suite=questing&section=all&arch=any&keywords=htc_9271&searchon=contents
  but after the split of the package it is now only in "firmware-
  ath9k-htc":
  
https://packages.ubuntu.com/search?suite=resolute&arch=any&mode=filename&searchon=contents&keywords=htc_9271
  
  [ Fix ]
  
  Add ath9k_htc to linux-firmware-qualcomm-wireless.
  
  [ Test Case ]
  
+ 1. check package content:
+ 
  $ dpkg -L linux-firmware-qualcomm-wireless | grep ath9k_htc
+ /usr/lib/firmware/ath9k_htc
+ /usr/lib/firmware/ath9k_htc/htc_7010-1.4.0.fw.zst
+ /usr/lib/firmware/ath9k_htc/htc_9271-1.4.0.fw.zst
+ 
+ $ find /usr/lib/firmware/ath9k_htc/
+ /usr/lib/firmware/ath9k_htc/
+ /usr/lib/firmware/ath9k_htc/htc_7010-1.4.0.fw.zst
+ /usr/lib/firmware/ath9k_htc/htc_9271-1.4.0.fw.zst
+ 
+ 2. Verify that firmware is properly loaded and the HW is functional.
+ 
+ 3. Verify package installation and upgrades.
+ 
+ a) Verify that linux-firmware-qualcomm-wireless and fimware-ath9k-htc cannot 
be installed a the same time.
+ b)  Verify that 'apt install fimware-ath9k-htc' installs 
linux-firmware-qualcomm-wireless or is a no-op if that package is already 
installed.
+ c) Verify that on upgrade to the new linux-firmware-qualcomm-wireless package 
any previously installed fimware-ath9k-htc package is removed.
+ 
  
  [ Where Problems Could Occur ]
  
  Potential upgrade/installation conflicts with firmware-ath9k-htc.
  Besides that, the typical potential issues when firmware is loaded on
  affected HW: Stack traces, kernel crashes, oopses, ...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2150830

Title:
  Missing ath9k_htc firmware

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware-qualcomm-wireless/+bug/2150830/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to