aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic
diff options
context:
space:
mode:
authorNick Hainke <vincent@systemli.org>2022-12-20 16:12:48 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2022-12-28 22:36:32 +0100
commita14170b6e9c8bab493c5e0e7689405a8a0675e8a (patch)
tree6f25e40763c59abeba38716c9da2438b65d1b83c /target/linux/ath79/generic
parent214c230a7919a7d8c833476ac8c63f9f2475b79f (diff)
downloadupstream-a14170b6e9c8bab493c5e0e7689405a8a0675e8a.tar.gz
upstream-a14170b6e9c8bab493c5e0e7689405a8a0675e8a.tar.bz2
upstream-a14170b6e9c8bab493c5e0e7689405a8a0675e8a.zip
ath79: fix calibration-art for some boards
"0x1000" looks suspicious. By looking at data provided by @DragonBluep I was able to identify the correct size for AR9380, AR9287 WiFis. Furthermore, PowerCloud Systems CAP324 has a AR9344 WiFi. Signed-off-by: Nick Hainke <vincent@systemli.org>
Diffstat (limited to 'target/linux/ath79/generic')
-rw-r--r--target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index 4f107bfe88..df7f1fc0ce 100644
--- a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -86,7 +86,8 @@ case "$FIRMWARE" in
avm,fritz300e)
caldata_extract_reverse "urloader" 0x1541 0x440
;;
- buffalo,wzr-hp-g450h)
+ buffalo,wzr-hp-g450h|\
+ pcs,cap324)
caldata_extract "art" 0x1000 0x440
;;
dlink,dir-825-c1|\
@@ -103,9 +104,8 @@ case "$FIRMWARE" in
;;
netgear,wnr2200-8m|\
netgear,wnr2200-16m|\
- pcs,cap324|\
tplink,tl-wr842n-v1)
- caldata_extract "art" 0x1000 0x1000
+ caldata_extract "art" 0x1000 0x3e0
;;
wd,mynet-n600|\
wd,mynet-n750)
@@ -113,7 +113,7 @@ case "$FIRMWARE" in
ath9k_patch_mac $(mtd_get_mac_ascii devdata "wlan5mac")
;;
wd,mynet-wifi-rangeextender)
- caldata_extract "art" 0x1000 0x1000
+ caldata_extract "art" 0x1000 0x440
ath9k_patch_mac $(nvram get wl0_hwaddr)
;;
*)