openwrtv4/target/linux/ar71xx
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
..
base-files ar71xx: Do not use a hardcoded ath10k firmware mac address 2016-09-28 08:39:01 +02:00
files ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker Gateway 2016-09-27 17:50:22 +02:00
generic ar71xx: remove useless minimal/ath5k profiles 2016-08-02 13:51:13 +02:00
image ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker Gateway 2016-09-27 17:50:22 +02:00
mikrotik tools: add kernel2minor utility for Mikrotik devices 2016-07-05 22:59:14 +02:00
nand ar71xx: add missing profile for the nand subtarget (FS#56) 2016-07-21 13:58:47 +02:00
patches-4.4 ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker Gateway 2016-09-27 17:50:22 +02:00
config-4.4 ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker Gateway 2016-09-27 17:50:22 +02:00
Makefile use immediate set in target Makefiles 2016-09-10 15:30:38 +02:00
modules.mk ar71xx: add LED driver NU801 2015-12-11 15:04:57 +00:00