summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt7615/pci.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2020-04-28 15:34:09 +0200
committerFelix Fietkau <nbd@nbd.name>2020-05-12 19:52:33 +0200
commitf2dc8ea11fbeec8e8d35c30a9fbd1f97d9c079d4 (patch)
tree99a1961fce4b6ce2a68ef0711c5edc0695be437a /drivers/net/wireless/mediatek/mt76/mt7615/pci.c
parent65ba7fa4b829588b011c8c285968c1a8d779b981 (diff)
downloadlinux-stable-f2dc8ea11fbeec8e8d35c30a9fbd1f97d9c079d4.tar.gz
linux-stable-f2dc8ea11fbeec8e8d35c30a9fbd1f97d9c079d4.tar.bz2
linux-stable-f2dc8ea11fbeec8e8d35c30a9fbd1f97d9c079d4.zip
mt76: mt7663: add the possibility to load firmware v2
mt7663 firmware v2 is used for embedded devices since it has more completed features in AP mode. Add the capability to specify which firmware load first (v3 or v2) using prefer_offload_fw kernel parameter and fallback to the other one if the selected firmware fails to load Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7615/pci.c')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7615/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/pci.c b/drivers/net/wireless/mediatek/mt76/mt7615/pci.c
index 21b3ec29aa12..f9469198cabd 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/pci.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/pci.c
@@ -68,5 +68,7 @@ MODULE_DEVICE_TABLE(pci, mt7615_pci_device_table);
MODULE_FIRMWARE(MT7615_FIRMWARE_CR4);
MODULE_FIRMWARE(MT7615_FIRMWARE_N9);
MODULE_FIRMWARE(MT7615_ROM_PATCH);
+MODULE_FIRMWARE(MT7663_OFFLOAD_FIRMWARE_N9);
+MODULE_FIRMWARE(MT7663_OFFLOAD_ROM_PATCH);
MODULE_FIRMWARE(MT7663_FIRMWARE_N9);
MODULE_FIRMWARE(MT7663_ROM_PATCH);