[PATCH] wifi: ath12k: Add MODULE_FIRMWARE() entries
Vasanthakumar Thiagarajan
vasanthakumar.thiagarajan at oss.qualcomm.com
Thu Oct 16 21:55:07 PDT 2025
On 10/3/2025 1:59 PM, Takashi Iwai wrote:
> 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 at suse.de>
> ---
> drivers/net/wireless/ath/ath12k/pci.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/net/wireless/ath/ath12k/pci.c b/drivers/net/wireless/ath/ath12k/pci.c
> index c729d5526c75..48161db6af57 100644
> --- a/drivers/net/wireless/ath/ath12k/pci.c
> +++ b/drivers/net/wireless/ath/ath12k/pci.c
> @@ -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: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan at oss.qualcomm.com>
More information about the ath12k
mailing list