wifi: ath12k: Add MODULE_FIRMWARE() entries
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
@@ -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
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.Signed-off-by Takashi Iwai <[email protected]>--- drivers/net/wireless/ath/ath12k/pci.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/net/wireless/ath/ath12k/pci.c +0
-0
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/*" );
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.Signed-off-by Takashi Iwai <[email protected]>--- drivers/net/wireless/ath/ath12k/pci.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/net/wireless/ath/ath12k/pci.c +0
-0
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/*" );
Jeff Johnson
AppliedQuoted 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]>