ar71xx: mikrotik: ath10k: use new sysfs driver
authorThibaut VARÈNE <hacks@slashdirt.org>
Fri, 8 May 2020 11:31:06 +0000 (13:31 +0200)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Tue, 12 May 2020 10:43:38 +0000 (12:43 +0200)
Fetch ath10k calibration data from backported mikrotik sysfs driver
which supports the newer "LZOR" encoding.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata

index 8fb5be643c9c1372195bf10e3e45927c2f6a2a55..b7b7b3a7ba8495c6d4e9ebb492a493c19a49d619 100644 (file)
@@ -121,7 +121,7 @@ case "$FIRMWARE" in
                ;;
        rb-952ui-5ac2nd|\
        rb-wapg-5hact2hnd)
-               ath10kcal_from_file "/sys/firmware/routerboot/ext_wlan_data" 20480 2116
+               ath10kcal_from_file "/sys/firmware/mikrotik/hard_config/wlan_data" 20480 2116
                ;;
        re355|\
        re450|\
@@ -158,7 +158,7 @@ case "$FIRMWARE" in
        rb-921gs-5hpacd-r2|\
        rb-922uags-5hpacd|\
        rb-962uigs-5hact2hnt)
-               ath10kcal_from_file "/sys/firmware/routerboot/ext_wlan_data" 20480 2116
+               ath10kcal_from_file "/sys/firmware/mikrotik/hard_config/wlan_data" 20480 2116
                ;;
        wlr8100)
                ath10kcal_extract "art" 20480 2116