Building this firmware requires an Xtensa cross toolchain which is
patched for the proprietary variant Qualcomm Atheros includes in the
hardware; the xtensa-lx106 is not sufficient.

As it's so specialized to be of little use to users or other packages,
it's built at build time just before the relatively-small firmware.

Future changes in the upstream version will likely need to coordinate
to changes in the drivers, such as ath9k_htc in Linux:
https://github.com/qca/open-ath9k-htc-firmware/wiki/VersionPolicy
For example modprobe ath9k_htc shows
firmware:       ath9k_htc/htc_9271-1.4.0.fw
firmware:       ath9k_htc/htc_7010-1.4.0.fw

Upstream snapshots are used to keep up with fixes to enable newer Binutils
and GCC. The sources are currently repacked with sources from Git; uscan
and friends do the right thing. The package version corresponds to the
typical format of 'git describe'.

The modaliases in debian/firmware-ath9k-htc.metainfo.xml can be generated
from a running kernel via:
cd /lib/modules/`uname -r`/kernel/drivers/net/wireless/ath/ath9k
for alias in `modinfo -F alias ath9k_htc.ko`
do
  if [ "$alias" = 'usb:v1668p1200d*dc*dsc*dp*ic*isc*ip*in*' ]
  then
    continue
  fi
  echo "<modalias>$alias</modalias>"
done
