Skip to contentSkip to conversation

wifi: ath12k: Add MODULE_FIRMWARE() entries

PATCH Applied Takashi Iwai 4 participants 4 messages Oct 3, 2025 – Oct 18, 2025 Qualcomm ATH12K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wifi: ath12k: Add MODULE_FIRMWARE() entries

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.

---
 drivers/net/wireless/ath/ath12k/pci.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/net/wireless/ath/ath12k/pci.c +4 -0
index c729d5526c75..48161db6af57 100644
@@ -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/*");
Signature · 1 line
2.50.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 18 lines · Takashi Iwai

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.

---
  drivers/net/wireless/ath/ath12k/pci.c | 4 ++++
  1 file changed, 4 insertions(+)
drivers/net/wireless/ath/ath12k/pci.c +0 -0
index c729d5526c75..48161db6af57 100644

drivers/net/wireless/ath/ath12k/pci.c void ath12k_pci_exit(void) · line 1877

Quoted 7 lines
drivers/net/wireless/ath/ath12k/pci.c +4 -0
@@ -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/*");
Reviewed-by on v1 1/1
#2 lore raw
In reply to Takashi Iwai
Quoted 18 lines · Takashi Iwai

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.

---
 drivers/net/wireless/ath/ath12k/pci.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/net/wireless/ath/ath12k/pci.c +0 -0
index c729d5526c75..48161db6af57 100644

drivers/net/wireless/ath/ath12k/pci.c void ath12k_pci_exit(void) · line 1877

Quoted 7 lines
drivers/net/wireless/ath/ath12k/pci.c +4 -0
@@ -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/*");
Applied
#3 lore raw
In reply to Takashi Iwai
Quoted 9 lines · Takashi Iwai

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.

[...]

Applied, thanks!

[1/1] wifi: ath12k: Add MODULE_FIRMWARE() entries

      commit: 38e3a9408496540f3a1dbbfc2ea7e495e14e03d7

Best regards,

Signature · 1 line
Jeff Johnson <[email protected]>