aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-10-17 14:00:54 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-10-26 21:07:22 +0100
commit8087499ac50bc2358d5f9d872293a9a01fd64b5d (patch)
treebac1d09cf229ef8ade6c77569976d0ccfe885c90
parent733700c652d37ca4c26f623d2a71337147af395d (diff)
downloadupstream-8087499ac50bc2358d5f9d872293a9a01fd64b5d.tar.gz
upstream-8087499ac50bc2358d5f9d872293a9a01fd64b5d.tar.bz2
upstream-8087499ac50bc2358d5f9d872293a9a01fd64b5d.zip
ath79: enable upgrade from ar71xx for Qxwlan devices
This supports upgrade from ar71xx for the recently added Qxwlan devices E1700AC v2, E558 v2, E750A v4 and E750G v8. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rw-r--r--target/linux/ath79/generic/base-files/etc/uci-defaults/04_led_migration10
-rw-r--r--target/linux/ath79/image/generic.mk4
2 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/uci-defaults/04_led_migration b/target/linux/ath79/generic/base-files/etc/uci-defaults/04_led_migration
index f439e9ccc7..0efc2bf9d7 100644
--- a/target/linux/ath79/generic/base-files/etc/uci-defaults/04_led_migration
+++ b/target/linux/ath79/generic/base-files/etc/uci-defaults/04_led_migration
@@ -20,6 +20,16 @@ glinet,gl-mifi)
pcs,cap324)
migrate_leds "lan:amber=amber:lan" "lan:green=green:lan"
;;
+qxwlan,e558-v2-16m|\
+qxwlan,e558-v2-8m)
+ migrate_leds ":qss=:sig2"
+ ;;
+qxwlan,e750a-v4-16m|\
+qxwlan,e750a-v4-8m|\
+qxwlan,e750g-v8-16m|\
+qxwlan,e750g-v8-8m)
+ migrate_leds ":ds10=:sig1" ":ds20=:sig2"
+ ;;
mercury,mw4530r-v1|\
tplink,archer-c7-v2|\
tplink,tl-wdr3600-v1|\
diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk
index 8b0c247876..b6ec366eb0 100644
--- a/target/linux/ath79/image/generic.mk
+++ b/target/linux/ath79/image/generic.mk
@@ -1480,6 +1480,7 @@ define Device/qxwlan_e1700ac-v2
DEVICE_VENDOR := Qxwlan
DEVICE_MODEL := E1700AC
DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca988x-ct
+ SUPPORTED_DEVICES += e1700ac-v2
endef
define Device/qxwlan_e1700ac-v2-16m
@@ -1501,6 +1502,7 @@ define Device/qxwlan_e558-v2
DEVICE_VENDOR := Qxwlan
DEVICE_MODEL := E558
DEVICE_PACKAGES := kmod-usb2
+ SUPPORTED_DEVICES += e558-v2
endef
define Device/qxwlan_e558-v2-16m
@@ -1522,6 +1524,7 @@ define Device/qxwlan_e750a-v4
DEVICE_VENDOR := Qxwlan
DEVICE_MODEL := E750A
DEVICE_PACKAGES := kmod-usb2
+ SUPPORTED_DEVICES += e750a-v4
endef
define Device/qxwlan_e750a-v4-16m
@@ -1543,6 +1546,7 @@ define Device/qxwlan_e750g-v8
DEVICE_VENDOR := Qxwlan
DEVICE_MODEL := E750G
DEVICE_PACKAGES := kmod-usb2
+ SUPPORTED_DEVICES += e750g-v8
endef
define Device/qxwlan_e750g-v8-16m