ath79: use correct firmware name for UniFi AP
authorDavid Bauer <mail@david-bauer.net>
Sat, 31 Oct 2020 15:41:04 +0000 (16:41 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 1 Nov 2020 14:30:05 +0000 (15:30 +0100)
The Ubiquiti UniFi AP does not have a AHB connected radio but a PCI one.
Also the EEPROM ist only 0x440 bytes of length.

Reported-by: Martin Weinelt <martin@darmstadt.freifunk.net>
Tested-by: Martin Weinelt <martin@darmstadt.freifunk.net>
Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom

index 88d43e25c48baea2ecf7e2b504c6081f7c52156a..194df74292254010fd565f751edaa98f2d0f0612 100644 (file)
@@ -9,8 +9,7 @@ board=$(board_name)
 case "$FIRMWARE" in
 "ath9k-eeprom-ahb-18100000.wmac.bin")
        case $board in
-       8dev,lima|\
-       ubnt,unifi)
+       8dev,lima)
                caldata_extract "art" 0x1000 0x800
                ;;
        avm,fritz1750e|\
@@ -78,7 +77,8 @@ case "$FIRMWARE" in
        engenius,enh202-v1)
                caldata_extract "art" 0x1000 0xeb8
                ;;
-       buffalo,wzr-hp-g450h)
+       buffalo,wzr-hp-g450h|\
+       ubnt,unifi)
                caldata_extract "art" 0x1000 0x440
                ;;
        dlink,dir-825-c1|\