]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: ath12k: Add MODULE_FIRMWARE() entries
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Oct 2025 08:29:19 +0000 (10:29 +0200)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Sat, 18 Oct 2025 15:36:14 +0000 (08:36 -0700)
Some systems such as live-image or installer require the firmware
information for each module declared by MODULE_FIRMWARE(), which is
currently missing in ath12k driver.

For addressing it, this patch adds the MODULE_FIRMWARE() entries.
Like ath11k driver, we can just put the currently used firmware
entries for QCN9274 and WCN7850 with wildcards.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20251003082955.11436-1-tiwai@suse.de
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/pci.c

index c729d5526c753d2b7b7542b6f2a145e71b335a43..48161db6af5795b88e9b1aa8f9618b74e85f61d9 100644 (file)
@@ -1871,3 +1871,7 @@ void ath12k_pci_exit(void)
 {
        pci_unregister_driver(&ath12k_pci_driver);
 }
+
+/* firmware files */
+MODULE_FIRMWARE(ATH12K_FW_DIR "/QCN9274/hw2.0/*");
+MODULE_FIRMWARE(ATH12K_FW_DIR "/WCN7850/hw2.0/*");