This device can be merged with the existing dtsi, which declares
the location of ath9k cal-data via devicetree, correcting the 2.4G
mac address in `10_fix_wifi_mac` rather than `10-ath9k-eeprom`.
To make these changes more visible, apply before merging with dtsi.
Signed-off-by: Sebastian Schaper <openwrt@sebastianschaper.net>
&wmac {
status = "okay";
- qca,no-eeprom;
+ mtd-cal-data = <&art 0x1000>;
};
avm,fritzdvbc)
caldata_extract_reverse "urlader" 0x1541 0x440
;;
- dlink,dap-2695-a1)
- caldata_extract "art" 0x1000 0x440
- ath9k_patch_mac $(mtd_get_mac_ascii bdcfg "wlanmac")
- ;;
dlink,dir-505|\
dlink,dir-825-c1|\
dlink,dir-835-a1)
;;
dlink,dap-2660-a1|\
dlink,dap-2680-a1|\
+ dlink,dap-2695-a1|\
dlink,dap-3662-a1)
[ "$PHYNBR" -eq 1 ] && \
mtd_get_mac_ascii bdcfg "wlanmac" > /sys${DEVPATH}/macaddress