Hi,

 

just saw the commit “ipq40xx: speed up ath10k-caldata extraction”:

https://github.com/openwrt/openwrt/commit/a69e101ed1169f562fc030a783cd997d3f066b16

 

Is this specific to ipq40xx for some reason not obvious to me or can other 
targets like ath79/ar71xx be “enhanced” similarly:

 

https://github.com/openwrt/openwrt/blob/master/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata#L45

https://github.com/openwrt/openwrt/blob/master/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata#L33

(at least two affected lines in each file)

 

[…]

dd if=$mtd of=/lib/firmware/$FIRMWARE bs=1 skip=$offset count=$count 
2>/dev/null || \

[…]

 

changed to

 

[…]

dd if=$mtd of=/lib/firmware/$FIRMWARE bs=$count skip=$offset count=1 
iflag=skip_bytes 2>/dev/null || \

[…]

 

etc.

 

?

 

Best

 

Adrian

Attachment: pgpiUxNXtFAcS.pgp
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to