summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: Do not use a hardcoded ath10k firmware mac addressMartin Blumenstingl2016-09-281-7/+10
| | | | | | | | | | | | | | | | | | | | | 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>
* ar71xx: Update preinit script for new ath10k firmwareJohn Crispin2015-12-231-1/+1
| | | | | | Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 47985
* ar71xx: add support for TRENDnet TEW-823DRUJohn Crispin2015-12-171-2/+2
| | | | | | | | | | | | | | Add support for TRENDnet TEW-823DRU: - cpu: QCA9558 @720MHz - flash: 16MB - ram: 256MB - 4+1 RJ45 100/1000Mbps - wifi: QCA9558 (bgn) and QCA9880-BR4A (ac) - 1x USB 2.0 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 47927
* ar71xx: update preinit script for new ath10k firmwareFelix Fietkau2015-07-061-2/+2
| | | | | | | | | Update firmware name and md5sum. MAC-address location remains unchanged from previous version. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 46196
* ar71xx: fix mac offset in firmware fileFelix Fietkau2015-06-141-1/+1
| | | | | | | | | In new firmware-4.bin (for ath10k) mac offset is 0x114 (276), not 0x118 (280). This also closes #19751, bug introduced in #45624 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 45958
* ar71xx: fix 82_patch_ath10kFelix Fietkau2015-05-081-2/+2
| | | | | | | | It has been broken since the new ath10k firmware introduced in r44656. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 45624
* ar71xx: fix 82_patch_ath10kJo-Philipp Wich2015-02-171-1/+7
| | | | | | | | | | | | The firware md5sum check never worked due to missing dollar signs. Also suppress `md5sum: can't open '/lib/firmware/ath10k/QCA988X/hw2.0/firmware-3.bin'` error on any board not using ath10k. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44486
* ar71xx: add an extra check on board_name for ath10k firmware patchsJohn Crispin2014-12-131-6/+14
| | | | | | | | | It moves firmware patch code behind an extra check on board_name. Otherwise it will calculate firmware checksum for unaffected boards. It also reduce boottime by a md5 calculation and removes error message on boot if firmware not found. SVN-Revision: 43679
* add D-link DGL-5500 A1 supportImre Kaloz2014-11-271-0/+37
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43401