firmware/firmware-qcom-db410c: provide firmware-qcom-msm8916-wcnss (MR 1315)

The WCNSS firmware from DB410c is also useful for other devices
that can run unsigned firmware (e.g. bq-paella) because it is newer
and reportedly has some WiFi/BT coexistence problems fixed.

To allow easy switching betwen the original firmware from the manufacturer
(firmware-bq-picmt-wcnss) and the newer firmware (firmware-qcom-db410c-wcnss)
we make both packages provide a virtual "firmware-qcom-msm8916-wcnss"
package. The newer version from firmware-qcom-db410c gets a higher
provider_priority so it is installed by default.

However, the user can choose to do "apk add firmware-bq-picmt-wcnss"
to get the original firmware from the manufacturer instead.
This commit is contained in:
Minecrell 2020-06-08 22:21:52 +02:00
parent 458c3ce9f2
commit 1785be13dd
No known key found for this signature in database
GPG key ID: B77CE638A6C2E562

View file

@ -1,6 +1,6 @@
pkgname=firmware-qcom-db410c
pkgver=1034.2.1
pkgrel=0
pkgrel=1
pkgdesc="Firmware for DragonBoard 410c"
url="https://releases.linaro.org/96boards/dragonboard410c/qualcomm/firmware/"
subpackages="$pkgname-doc $pkgname-modem $pkgname-wcnss $pkgname-wcnss-nv:wcnss_nv"
@ -34,6 +34,9 @@ modem() {
wcnss() {
pkgdesc="DragonBoard 410c WiFi/BT firmware"
provides="firmware-qcom-msm8916-wcnss"
provider_priority=100
install -Dm644 "$srcdir"/wcnss.* -t "$subpkgdir/$_fwdir"
}