diff options
author | Zhang Jingye <934526987@qq.com> | 2017-01-16 20:10:51 +0800 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-02-01 17:37:58 +0100 |
commit | 9c915d1e7b05402929c15f1c74e662e9d3893065 (patch) | |
tree | 15ada34256fe590efaca7031292eb11f22cca937 /target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | |
parent | 4d561b3a30c2bba4d525df2c13c4a938cef92b3e (diff) | |
download | upstream-9c915d1e7b05402929c15f1c74e662e9d3893065.tar.gz upstream-9c915d1e7b05402929c15f1c74e662e9d3893065.tar.bz2 upstream-9c915d1e7b05402929c15f1c74e662e9d3893065.zip |
ipq806x: Fix wireless support for Netgear Nighthawk X4S D7800
D7800 has a simular hardware to R7800 and uses dual QCA9980 for both 2.4GHz and 5GHz band.
However there is no proper initialization for them, which causes a kernel panic due to failed firmware loading.
This patch adds d7800 to ath10k caldata extraction list.
I can get two functional wireless bands after making change to it.
Signed-off-by: Zhang Jingye <934526987@qq.com>
Diffstat (limited to 'target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac')
-rw-r--r-- | target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac index 3482a09b70..0da6e0be67 100644 --- a/target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac +++ b/target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac @@ -15,12 +15,14 @@ case "$board" in c2600) echo $(macaddr_add $(mtd_get_mac_binary default-mac 8) $(($PHYNBR - 1)) ) > /sys${DEVPATH}/macaddress ;; - ea8500) - echo $(macaddr_add $(mtd_get_mac_ascii devinfo hw_mac_addr) $(($PHYNBR + 1)) ) > /sys${DEVPATH}/macaddress - ;; + d7800 |\ + r7500v2 |\ r7800) echo $(macaddr_add $(mtd_get_mac_binary art 6) $(($PHYNBR + 1)) ) > /sys${DEVPATH}/macaddress ;; + ea8500) + echo $(macaddr_add $(mtd_get_mac_ascii devinfo hw_mac_addr) $(($PHYNBR + 1)) ) > /sys${DEVPATH}/macaddress + ;; vr2600v) echo $(macaddr_add $(mtd_get_mac_binary default-mac 0) $(($PHYNBR - 1)) ) > /sys${DEVPATH}/macaddress ;; |