aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/board.d
diff options
context:
space:
mode:
authorDavide Fioravanti <pantanastyle@gmail.com>2017-11-19 21:11:10 +0100
committerPiotr Dymacz <pepe2k@gmail.com>2018-01-15 00:12:13 +0100
commita85db951db31c607f423747842e3d1d102c8fc9a (patch)
treef9861674864f3237a6995ed9a335d759e3875fa4 /target/linux/ar71xx/base-files/etc/board.d
parentec141c1f3dffadd5f1e5c98697e686cc14897701 (diff)
downloadupstream-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/board.d')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 675c1f7718..6a338aeeba 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -563,6 +563,10 @@ ar71xx_setup_macs()
mynet-n750)
wan_mac=$(mtd_get_mac_ascii devdata "wanmac")
;;
+ wlr8100)
+ lan_mac=$(mtd_get_mac_ascii u-boot-env "ethaddr")
+ wan_mac=$(mtd_get_mac_ascii u-boot-env "wanaddr")
+ ;;
wpj344|\
wpj558)
wan_mac=$(mtd_get_mac_binary u-boot 0x2e018)