ath79: calibrate TP-LINK TL-WR2543ND with nvmem
authorEdward Chow <equu@openmail.cc>
Tue, 22 Nov 2022 10:49:21 +0000 (18:49 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 27 Nov 2022 12:18:29 +0000 (13:18 +0100)
commit2c33fd39a5b84962cfc878a3561a2a51787d4c11
tree72a9df7df66c3b5e498bb2f63bb32413713da5d8
parent9fa8fff0af727b1cf1898285926cda8a480b08f7
ath79: calibrate TP-LINK TL-WR2543ND with nvmem

Driver for and pci wlan card now pull the calibration data from the nvmem
subsystem.

This allows us to move the userspace caldata extraction for the pci-e ath9k
supported wifi into the device-tree definition of the device.

The wifi mac address remains correct after these changes, because When both
"mac-address" and "calibration" are defined, the effective mac address
comes from the cell corresponding to "mac-address" and
mac-address-increment.

Test passed on my tplink tl-wr2543nd.

Signed-off-by: Edward Chow <equu@openmail.cc>
target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom