aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJoel Linn <jl@conductive.de>2021-12-08 11:07:50 +0100
committerChristian Lamparter <chunkeey@gmail.com>2021-12-11 00:50:02 +0100
commit7061d5f343016bfd195a1af94ee194902e7db0ab (patch)
tree3c3129c0bb863e46a3fbfed245fe0ee14c3c833f /target
parent35aecc9d4a735c36d5eefe6e821c5930f736635f (diff)
downloadupstream-7061d5f343016bfd195a1af94ee194902e7db0ab.tar.gz
upstream-7061d5f343016bfd195a1af94ee194902e7db0ab.tar.bz2
upstream-7061d5f343016bfd195a1af94ee194902e7db0ab.zip
lantiq: fixed wifi support for AVM FRITZ!Box 7430
adds the correct offset for the calibration data. The values are according to the OpenWrt Forum Thread: "Fritzbox 7430 and wifi". Link: <https://forum.openwrt.org/t/fritzbox-7430-and-wifi/86944> Reported-by: RENErica Signed-off-by: Joel Linn <jl@conductive.de> [changed commit message] Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom b/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
index 09d26f7f85..07463a8061 100644
--- a/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
+++ b/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
@@ -23,10 +23,12 @@ case "$FIRMWARE" in
avm,fritz7360-v2)
caldata_extract "urlader" 0x985 0x1000
;;
- avm,fritz7412|\
- avm,fritz7430)
+ avm,fritz7412)
/usr/bin/fritz_cal_extract -i 1 -s 0x1e000 -e 0x207 -l 4096 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader")
;;
+ avm,fritz7430)
+ /usr/bin/fritz_cal_extract -i 1 -s 0x1e800 -e 0x207 -l 4096 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader")
+ ;;
bt,homehub-v5a)
caldata_extract_ubi "caldata" 0x1000 0x1000
ath9k_patch_mac_crc $(macaddr_add $(mtd_get_mac_binary_ubi caldata 0x110c) 2) 0x10c