[OpenWrt-Devel] [PATCH 0/4] Move caldata extraction and MAC patching to common file
Adrian Schmutzler
freifunk at adrianschmutzler.de
Sun Sep 8 10:10:48 EDT 2019
This is another attempt to unify caldata extraction and MAC patching.
Compared to my first attempt half a year ago, this includes more targets
and does more code cleanup, particularly by merging several differently
implemented function spread across the code which effectively do the
same.
I also plan to address the special situation in lantiq when a find some
additional time.
Note that the current state is only slightly above RFC quality. It has
not been tested so far on any target.
Adrian Schmutzler (4):
base-files: move xor() from caldata extraction to functions.sh
treewide: move calibration data extraction function to library
treewide: move MAC address patch functions to common library
base-files: fix hex2dec conversion for checksum offset
package/base-files/files/lib/functions.sh | 16 ++
.../base-files/files/lib/functions/caldata.sh | 122 +++++++++++++
.../etc/hotplug.d/firmware/10-ath9k-eeprom | 61 +------
.../etc/hotplug.d/firmware/10-ath9k-eeprom | 162 ++++--------------
.../etc/hotplug.d/firmware/11-ath10k-caldata | 129 +++-----------
.../etc/hotplug.d/firmware/10-rt2x00-eeprom | 27 +--
.../etc/hotplug.d/firmware/11-ath10k-caldata | 139 +++------------
.../etc/hotplug.d/firmware/11-ath10k-caldata | 100 ++---------
.../etc/hotplug.d/firmware/11-ath10k-caldata | 37 +---
.../etc/hotplug.d/firmware/12-ath9k-eeprom | 95 ++--------
.../etc/hotplug.d/firmware/10-ath9k-eeprom | 25 +--
.../etc/hotplug.d/firmware/10-rt2x00-eeprom | 48 +-----
12 files changed, 285 insertions(+), 676 deletions(-)
create mode 100644 package/base-files/files/lib/functions/caldata.sh
--
2.20.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list