Skip to content

Commit

Permalink
ath79: fix calibration-art for some boards
Browse files Browse the repository at this point in the history
"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>
  • Loading branch information
PolynomialDivision authored and hauke committed Dec 28, 2022
1 parent 214c230 commit a14170b
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -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|\
Expand All @@ -103,17 +104,16 @@ 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)
caldata_extract "art" 0x5000 0x440
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)
;;
*)
Expand Down

0 comments on commit a14170b

Please sign in to comment.