aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/hotplug.d
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-07-18 21:15:42 +0000
committerJohn Crispin <blogic@openwrt.org>2015-07-18 21:15:42 +0000
commit932cc6d2d8c47c8844237d00b23594341063994f (patch)
treec570d3c89b556589ef14ad62e4cbcb4333a517fd /target/linux/ar71xx/base-files/etc/hotplug.d
parentd5502a033e49e24d7f4c7d9cfac571616d6670f1 (diff)
downloadmaster-187ad058-932cc6d2d8c47c8844237d00b23594341063994f.tar.gz
master-187ad058-932cc6d2d8c47c8844237d00b23594341063994f.tar.bz2
master-187ad058-932cc6d2d8c47c8844237d00b23594341063994f.zip
ar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.
As r46245 disabled the board.bin template workaround, 5GHz wifi stopped working on these devices. This adds them to the calibration data loading introduced in r46244 and thus makes 5GHz work again for these devices. Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46415 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/hotplug.d')
-rw-r--r--target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index fbbfbd7eea..7111630536 100644
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -62,6 +62,11 @@ case "$FIRMWARE" in
ath10kcal_extract "radiocfg" 20480 2116
ath10kcal_patch_mac $(mtd_get_mac_ascii devdata wlan5mac)
;;
+ esr1750 | \
+ epg5000)
+ ath10kcal_extract "caldata" 20480 2116
+ ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1)
+ ;;
esac
;;
"ath10k/cal-pci-0000:01:00.0.bin")