diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2021-07-22 13:35:42 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-10-30 22:11:13 +0200 |
commit | f44e933458b13ab99c76dac840908104814442c8 (patch) | |
tree | f2feffd15202502608342e595eb251e854387b9e /target/linux/ipq806x/base-files/etc | |
parent | c12ef2f76098923fc08ef9d7aa3d080b6e72dfb1 (diff) | |
download | upstream-f44e933458b13ab99c76dac840908104814442c8.tar.gz upstream-f44e933458b13ab99c76dac840908104814442c8.tar.bz2 upstream-f44e933458b13ab99c76dac840908104814442c8.zip |
ipq806x: provide WiFI mac-addresses from dts
Use nvmem framework for supported mac-address stored
in nvmem cells and drop mac patch function for hotplug
script for supported devices.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[rebase, move to correct node for d7800, include xr500]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ipq806x/base-files/etc')
-rw-r--r-- | target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index a1cbe0a8f6..2746ef1e2a 100644 --- a/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -22,7 +22,6 @@ case "$FIRMWARE" in ;; buffalo,wxr-2533dhp) caldata_extract "ART" 0x1000 0x2f20 - ath10k_patch_mac $(mtd_get_mac_binary ART 0x1e) ;; edgecore,ecw5410) if [ -b "$(find_mtd_part 0:art)" ]; then @@ -40,26 +39,21 @@ case "$FIRMWARE" in nec,wg2600hp |\ nec,wg2600hp3) caldata_extract "ART" 0x1000 0x2f20 - ath10k_patch_mac $(mtd_get_mac_binary PRODUCTDATA 0x12) ;; netgear,d7800 |\ netgear,r7500v2 |\ netgear,r7800) caldata_extract "art" 0x1000 0x2f20 - ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x6) 1) ;; netgear,xr500) caldata_extract "art" 0x1000 0x2f20 - ath10k_patch_mac $(mtd_get_mac_binary art 0xc) ;; tplink,ad7200 |\ tplink,c2600) caldata_extract "radio" 0x1000 0x2f20 - ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary default-mac 0x8) -1) ;; tplink,vr2600v) caldata_extract "ART" 0x1000 0x2f20 - ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary default-mac 0x0) -1) ;; zyxel,nbg6817) if [ -b "$(find_mtd_part 0:art)" ]; then @@ -88,7 +82,6 @@ case "$FIRMWARE" in ;; buffalo,wxr-2533dhp) caldata_extract "ART" 0x5000 0x2f20 - ath10k_patch_mac $(mtd_get_mac_binary ART 0x18) ;; linksys,ea7500-v1 |\ linksys,ea8500) @@ -98,26 +91,21 @@ case "$FIRMWARE" in nec,wg2600hp |\ nec,wg2600hp3) caldata_extract "ART" 0x5000 0x2f20 - ath10k_patch_mac $(mtd_get_mac_binary PRODUCTDATA 0xc) ;; netgear,d7800 |\ netgear,r7500v2 |\ netgear,r7800) caldata_extract "art" 0x5000 0x2f20 - ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x6) 2) ;; netgear,xr500) caldata_extract "art" 0x5000 0x2f20 - ath10k_patch_mac $(mtd_get_mac_binary art 0x0) ;; tplink,ad7200 |\ tplink,c2600) caldata_extract "radio" 0x5000 0x2f20 - ath10k_patch_mac $(mtd_get_mac_binary default-mac 0x8) ;; tplink,vr2600v) caldata_extract "ART" 0x5000 0x2f20 - ath10k_patch_mac $(mtd_get_mac_binary default-mac 0x0) ;; zyxel,nbg6817) if [ -b "$(find_mtd_part 0:art)" ]; then |