openwrtv3/target/linux
Martin Blumenstingl e7be0decf6 ar71xx: Do not use a hardcoded ath10k firmware mac address
ar71xx has an init-script for special devices where the ath10k OTP
calibration data is stored on the PCIe card's EEPROM (and thus can only
be read by ath10k). Unfortunately the OTP data uses the default mac
address (= all devices come with the same mac address, which leads to
problems when you have multiple of these devices in the same network).

To work around this the mac address is patched in the firmware during
the first boot of the device. To prevent flash wear this was only done
if the ath10k firmware matched a hardcoded md5sum.
However, if the md5sum does not match this can mean that either the mac
address was already patched (which is fine) - unfortunately it can also
mean that the firmware version was updated without updating the
hardcoded md5sum.

Change the "was the mac address already patched" check to actually
compare the mac address inside the ath10k firmware.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
2016-09-28 08:39:01 +02:00
..
adm5120 kernel: remove unused morse led trigger driver 2016-08-04 20:53:02 +02:00
adm8668 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
apm821xx kernel: update kernel 4.4 to version 4.4.20 2016-09-15 08:10:55 +02:00
ar7 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
ar71xx ar71xx: Do not use a hardcoded ath10k firmware mac address 2016-09-28 08:39:01 +02:00
arc770 kernel: update kernel 4.4 to version 4.4.20 2016-09-15 08:10:55 +02:00
archs38 kernel: update kernel 4.4 to version 4.4.20 2016-09-15 08:10:55 +02:00
arm64 arm64: fix build for linux 4.4.21 2016-09-16 12:11:10 +02:00
at91 kernel: clean up usb gadget support 2016-09-15 13:11:21 +02:00
ath25 kernel: update kernel 4.4 to version 4.4.20 2016-09-15 08:10:55 +02:00
au1000 use immediate set in target Makefiles 2016-09-10 15:30:38 +02:00
bcm53xx bcm53xx: move BCM53573 USB 2.0 patch to use backports prefix 2016-09-21 14:20:20 +02:00
brcm47xx treewide: remove bad local shell variable declarations 2016-09-24 14:38:20 +02:00
brcm63xx kernel: update kernel 4.4 to version 4.4.20 2016-09-15 08:10:55 +02:00
brcm2708 brcmfmac43430-firmware: rename to brcmfmac-firmware-43430-sdio 2016-09-15 20:23:46 +02:00
cns3xxx cns3xxx: eliminate hardcoded kernel/rootfs partition split 2016-09-19 14:27:26 +02:00
gemini gemini: rename config-default to config-4.4 2016-08-24 01:44:05 +03:00
generic kernel: add missing config symbol after rfkill change 2016-09-28 08:37:44 +02:00
imx6 kernel: update kernel 4.4 to version 4.4.21 2016-09-16 10:17:27 +02:00
ipq806x image: add KERNEL_SIZE to the default device vars 2016-09-13 19:36:41 +02:00
ixp4xx kernel: update kernel 4.4 to version 4.4.20 2016-09-15 08:10:55 +02:00
kirkwood kirkwood: fix uimage creation for some kirkwood devices 2016-09-19 15:30:32 +02:00
lantiq treewide: remove bad local shell variable declarations 2016-09-24 14:38:20 +02:00
malta malta: enable be64 and le64 subtargets 2016-08-15 15:32:36 +02:00
mcs814x branding: add LEDE branding 2016-03-24 22:40:13 +01:00
mediatek kernel: update kernel 4.4 to version 4.4.20 2016-09-15 08:10:55 +02:00
mpc85xx cleanup ucidef_set_interface* usage 2016-09-10 15:32:25 +02:00
mvebu mvebu: add switch config for clearfog pro 2016-09-26 13:27:44 +02:00
mxs mxs: unconditionally install kernel images/dtb files into rootfs (needed by boards) 2016-07-20 10:13:50 +02:00
octeon kernel: update kernel 4.4 to version 4.4.20 2016-09-15 08:10:55 +02:00
omap build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
omap24xx kernel: clean up usb gadget support 2016-09-15 13:11:21 +02:00
orion treewide: remove bad local shell variable declarations 2016-09-24 14:38:20 +02:00
oxnas image: add KERNEL_SIZE to the default device vars 2016-09-13 19:36:41 +02:00
ppc40x build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
ppc44x build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
ramips ramips : add support for Newifi D1 2016-09-27 17:50:22 +02:00
rb532 rb532: rename config-default to config 4.1 2016-08-24 01:48:01 +03:00
realview build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
sunxi sunxi: add rtl8xxxu into pcduino v3 profile 2016-09-15 20:23:46 +02:00
uml uml: set inittab for working console 2016-09-27 17:50:21 +02:00
x86 use immediate set in target Makefiles 2016-09-10 15:30:38 +02:00
xburst use immediate set in target Makefiles 2016-09-10 15:30:38 +02:00
zynq build: remove cpio.gz and tar.gz from regular filesystem types 2016-07-25 12:43:39 +02:00
Makefile