diff options
author | Davide Fioravanti <pantanastyle@gmail.com> | 2017-11-19 21:11:10 +0100 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2018-01-15 00:12:13 +0100 |
commit | a85db951db31c607f423747842e3d1d102c8fc9a (patch) | |
tree | f9861674864f3237a6995ed9a335d759e3875fa4 /target/linux/ar71xx/base-files/etc/hotplug.d/firmware | |
parent | ec141c1f3dffadd5f1e5c98697e686cc14897701 (diff) | |
download | upstream-a85db951db31c607f423747842e3d1d102c8fc9a.tar.gz upstream-a85db951db31c607f423747842e3d1d102c8fc9a.tar.bz2 upstream-a85db951db31c607f423747842e3d1d102c8fc9a.zip |
ar71xx: fix Sitecom WLR-8100 support
This patch fixes Sitecom WLR-8100:
- mtd layout
- LAN and WAN MAC address setup
- 2.4 GHz Wi-Fi MAC address setup
- 5 GHz Wi-Fi support (calibration data, MAC address setup, missing
ath10k-* packages)
Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
[squashed commits, fixed whitespace issues, reworded commit message]
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/hotplug.d/firmware')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 4 | ||||
-rw-r--r-- | target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index f9520b302b..41ab43f7cb 100644 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -94,6 +94,10 @@ case "$FIRMWARE" in rambutan) ath9k_eeprom_extract "art" 4096 2048 ;; + wlr8100) + ath9k_eeprom_extract "art" 4096 2048 + ath9k_patch_firmware_mac $(mtd_get_mac_ascii u-boot-env "ethaddr") + ;; z1) . /lib/upgrade/nand.sh 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 bc8972c2cd..d7d99f8edb 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 @@ -139,6 +139,10 @@ case "$FIRMWARE" in rb-962uigs-5hact2hnt) ath10kcal_from_file "/sys/firmware/routerboot/ext_wlan_data" 20480 2116 ;; + wlr8100) + ath10kcal_extract "art" 20480 2116 + ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_ascii u-boot-env ethaddr) +1) + ;; esac ;; "ath10k/pre-cal-pci-0000:00:00.0.bin") |