aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc/hotplug.d/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/base-files/etc/hotplug.d/firmware')
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom26
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata15
2 files changed, 20 insertions, 21 deletions
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index 2dac7768c1..b55ae0dbb3 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -47,23 +47,23 @@ board=$(board_name)
case "$FIRMWARE" in
"ath9k-eeprom-pci-0000:00:00.0.bin")
case $board in
- "avm,fritz300e")
+ avm,fritz300e)
ath9k_eeprom_extract_reverse "urloader" 5441 1088
;;
- "ocedo,raccoon"|\
- "tplink,tl-wdr3600"|\
- "tplink,tl-wdr4300")
+ ocedo,raccoon|\
+ tplink,tl-wdr3600|\
+ tplink,tl-wdr4300)
ath9k_eeprom_extract "art" 20480 1088
;;
- "netgear,wnr612-v2"|\
- "on,n150r"|\
- "pcs,cap324"|\
- "tplink,tl-mr3220-v1"|\
- "tplink,tl-mr3420-v1"|\
- "tplink,tl-wr2543-v1"|\
- "tplink,tl-wr740n-v2"|\
- "tplink,tl-wr841-v7"|\
- "ubnt,unifi")
+ netgear,wnr612-v2|\
+ on,n150r|\
+ pcs,cap324|\
+ tplink,tl-mr3220-v1|\
+ tplink,tl-mr3420-v1|\
+ tplink,tl-wr2543-v1|\
+ tplink,tl-wr740n-v2|\
+ tplink,tl-wr841-v7|\
+ ubnt,unifi)
ath9k_eeprom_extract "art" 4096 2048
;;
*)
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 562237f191..0d58ea0dd4 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -87,22 +87,22 @@ board=$(board_name)
case "$FIRMWARE" in
"ath10k/cal-pci-0000:00:00.0.bin")
case $board in
- "openmesh,om5p-ac-v2")
+ openmesh,om5p-ac-v2)
ath10kcal_extract "ART" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
;;
- "tplink,re450-v2")
+ tplink,re450-v2)
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1)
;;
- "tplink,tl-archer-c7-v2")
+ tplink,tl-archer-c7-v2)
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -1)
;;
- "ubnt,unifiac-lite"|\
- "ubnt,unifiac-mesh"|\
- "ubnt,unifiac-mesh-pro"|\
- "ubnt,unifiac-pro")
+ ubnt,unifiac-lite|\
+ ubnt,unifiac-mesh|\
+ ubnt,unifiac-mesh-pro|\
+ ubnt,unifiac-pro)
ath10kcal_extract "EEPROM" 20480 2116
;;
esac
@@ -112,7 +112,6 @@ case "$FIRMWARE" in
phicomm,k2t)
ath10kcal_extract "art" 20480 12064
ath10kcal_patch_mac_crc $(k2t_get_mac "5g_mac")
-
ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
;;