aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc
diff options
context:
space:
mode:
authorLech Perczak <lech.perczak@gmail.com>2018-08-21 20:43:45 +0200
committerMathias Kresin <dev@kresin.me>2018-08-23 22:42:15 +0200
commit614199c81d744c0f2cfecec4699b41047dad3b41 (patch)
treeec6b94383ee499966e5ce238b1cfe1da48364b93 /target/linux/ath79/base-files/etc
parent30b4f78193768f7154337d8b66f6346c1fd1474f (diff)
downloadupstream-614199c81d744c0f2cfecec4699b41047dad3b41.tar.gz
upstream-614199c81d744c0f2cfecec4699b41047dad3b41.tar.bz2
upstream-614199c81d744c0f2cfecec4699b41047dad3b41.zip
ath79: ubnt-xm: support ath9k firmware loading
Enable ath9k EEPROM extraction on boot for Ubiquiti XM-series boards. This is required for wireless interface to function. Runtime tested on Nanobridge M5. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files/etc')
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom5
1 files changed, 5 insertions, 0 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 9cbce4cecd..1af6f96be0 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
@@ -137,6 +137,11 @@ case "$FIRMWARE" in
tplink,tl-wr741-v1|\
tplink,tl-wr743nd-v1|\
tplink,tl-wr841-v7|\
+ ubnt,bullet-m|\
+ ubnt,nano-m|\
+ ubnt,rocket-m)
+ ath9k_eeprom_extract "art" 4096 4096
+ ;;
ubnt,unifi)
ath9k_eeprom_extract "art" 4096 2048
;;