[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#919652: ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi



Control: tags -1 + fixed-upstream

On Tue, 19 Jul 2022 23:46:17 +0300 Dmitry Baryshkov <dbaryshkov@gmail.com> wrote:
> I'd suggest submitting the board files to the ath10k-firmware repo,
> which will then find it's way into linux-firmware.

fwiw this (or, well an update of the existing one) actually happened
already at the end of 2021 [0], but Debian hasn't seen an update so far.

[0] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=4d74f4dec175363fa24c95702dd86f477cef232c


With that board file wlan works even through the kernel (at least on
bullseye, not tested others) still complains about missing firmware:

ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:01:00.0.bin (-2)
fimeware_class: See https://wiki.debian.org/Firmware for information about missing firmware
ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/cal-pci-0000:01:00.0.bin (-2)
(followed by messages about successfully loading firmware-6.bin and board-2.bin)

The internet says these files are optional, which is somewhat confirmed
by having working wlan even without them, and I fail to find them – but
find some references to them in Debian forums as e.g. also d-i shows its
missing firmware message for those files (even if you have the firmware
cd variant, which is both annoying and confusing).

Not well versed in kernel code, but while [1] claims (at least for the
cal file) that it is optional and should print no warning it happily
still does anyhow? Or perhaps its ath10k_fetch_fw_file() doing a
firmware_request_nowarn() to then go on and ERR_PTR() on its own… [2]
Anyway, not really the point of this bugreport, just at the off chance
someone has an idea how to proceed on this somewhat related front.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/ath/ath10k/core.c#n1227
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/ath/ath10k/core.c#n882


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


Reply to: