0058-wifi-ath11k-pci-Add-more-MODULE_FIRMWARE-entries.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From 06c58473969239e00d76b683edd511952060ca56 Mon Sep 17 00:00:00 2001
  2. From: Takashi Iwai <tiwai@suse.de>
  3. Date: Thu, 30 Mar 2023 16:37:18 +0200
  4. Subject: [PATCH] wifi: ath11k: pci: Add more MODULE_FIRMWARE() entries
  5. As there are a few more models supported by the driver, let's add the
  6. missing MODULE_FIRMWARE() entries for them. The lack of them resulted
  7. in the missing device enablement on some systems, such as the
  8. installation image of openSUSE.
  9. While we are at it, use the wildcard instead of listing each firmware
  10. files individually for each.
  11. Signed-off-by: Takashi Iwai <tiwai@suse.de>
  12. Reviewed-by: Simon Horman <simon.horman@corigine.com>
  13. Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
  14. Link: https://lore.kernel.org/r/20230330143718.19511-1-tiwai@suse.de
  15. ---
  16. drivers/net/wireless/ath/ath11k/pci.c | 9 +++++----
  17. 1 file changed, 5 insertions(+), 4 deletions(-)
  18. --- a/drivers/net/wireless/ath/ath11k/pci.c
  19. +++ b/drivers/net/wireless/ath/ath11k/pci.c
  20. @@ -1036,7 +1036,8 @@ module_exit(ath11k_pci_exit);
  21. MODULE_DESCRIPTION("Driver support for Qualcomm Technologies 802.11ax WLAN PCIe devices");
  22. MODULE_LICENSE("Dual BSD/GPL");
  23. -/* QCA639x 2.0 firmware files */
  24. -MODULE_FIRMWARE(ATH11K_FW_DIR "/QCA6390/hw2.0/" ATH11K_BOARD_API2_FILE);
  25. -MODULE_FIRMWARE(ATH11K_FW_DIR "/QCA6390/hw2.0/" ATH11K_AMSS_FILE);
  26. -MODULE_FIRMWARE(ATH11K_FW_DIR "/QCA6390/hw2.0/" ATH11K_M3_FILE);
  27. +/* firmware files */
  28. +MODULE_FIRMWARE(ATH11K_FW_DIR "/QCA6390/hw2.0/*");
  29. +MODULE_FIRMWARE(ATH11K_FW_DIR "/QCN9074/hw1.0/*");
  30. +MODULE_FIRMWARE(ATH11K_FW_DIR "/WCN6855/hw2.0/*");
  31. +MODULE_FIRMWARE(ATH11K_FW_DIR "/WCN6855/hw2.1/*");