[OpenWrt-Devel] [PATCH] ar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.

Christian Beier cb at shoutrlabs.com
Fri Jul 17 15:50:49 EDT 2015


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 at shoutrlabs.com>
---
 .../linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 5 +++++
 1 file changed, 5 insertions(+)

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 fbbfbd7..7111630 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")
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list