aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-07-24 20:38:36 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-11-06 15:04:05 +0100
commitc8c4f7216e31916d50aecaf4585a07652e22cb27 (patch)
tree412fa8184e47a75ecf9aef214051a97b1118a7bb
parentc7842ceaaa27a72146303362e24e10fbb1bcb213 (diff)
downloadupstream-c8c4f7216e31916d50aecaf4585a07652e22cb27.tar.gz
upstream-c8c4f7216e31916d50aecaf4585a07652e22cb27.tar.bz2
upstream-c8c4f7216e31916d50aecaf4585a07652e22cb27.zip
ath79: specify N and ND subversions of TL-WR941 with ALT0_MODEL
TP-Link's TL-WR941 is sold with detachable antennas internationally (ND version), but with fixed antennas in China (N version). While hardware and images are similar for both variants of v2 and v4, they are different for v6. Having both explicitly will make it easier for user to identify the correct image, and most importantly will raise awareness that N and ND are not necessarily always the same as for TL-WR841 series. With an image selection webpage, using ALT0_MODEL as in this patch will provide the option to list versions for N and ND separately. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rw-r--r--target/linux/ath79/image/tiny-tp-link.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/ath79/image/tiny-tp-link.mk b/target/linux/ath79/image/tiny-tp-link.mk
index 3d1b26d17f..3fc933392d 100644
--- a/target/linux/ath79/image/tiny-tp-link.mk
+++ b/target/linux/ath79/image/tiny-tp-link.mk
@@ -243,8 +243,11 @@ TARGET_DEVICES += tplink_tl-wr940n-v4
define Device/tplink_tl-wr941-v2
$(Device/tplink-4m)
ATH_SOC := ar9132
- DEVICE_MODEL := TL-WR941N/ND
+ DEVICE_MODEL := TL-WR941ND
DEVICE_VARIANT := v2/v3
+ DEVICE_ALT0_VENDOR := TP-Link
+ DEVICE_ALT0_MODEL := TL-WR941N
+ DEVICE_ALT0_VARIANT := v2/v3
TPLINK_HWID := 0x09410002
TPLINK_HWREV := 2
endef
@@ -253,8 +256,11 @@ TARGET_DEVICES += tplink_tl-wr941-v2
define Device/tplink_tl-wr941-v4
$(Device/tplink-4m)
ATH_SOC := ar7240
- DEVICE_MODEL := TL-WR941N/ND
+ DEVICE_MODEL := TL-WR941ND
DEVICE_VARIANT := v4
+ DEVICE_ALT0_VENDOR := TP-Link
+ DEVICE_ALT0_MODEL := TL-WR941N
+ DEVICE_ALT0_VARIANT := v4
TPLINK_HWID := 0x09410004
endef
TARGET_DEVICES += tplink_tl-wr941-v4