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 in mt7615 Kconfig which firmware load first
(v3 or v2) and fallback to the other one if the selected firmware fails
to load

Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Lorenzo Bianconi
2020-04-27 19:55:00 +02:00
committed by Felix Fietkau
parent c2a3cced36
commit 1afabe78cf
5 changed files with 65 additions and 8 deletions
+13
View File
@@ -38,3 +38,16 @@ config MT7663U
This adds support for MT7663U 802.11ax 2x2:2 wireless devices.
To compile this driver as a module, choose M here.
config MT7615_OFFLOAD_FIRMWARE
bool "Prefer client mode offload firmware (MT7663)"
depends on MT7615E || MT7663U
default y
help
Load MT7663 client mode offload firmware (v3) as primary option
and fallback to MT7663 firmware v2 in case of failure.
If MT7615_OFFLOAD_FIRMWARE is not selected MT7663 firmware v2
will be used as primary option.
MT7663 client mode offload firmware supports low power features
(hw frequency scanning, scheduled frequency scanning, WoW,
802.11 power save) but is more limited in AP mode