[OpenWrt-Devel] [PATCH 1/2] ath79: add support for Netgear WNDR4300

Adrian Schmutzler mail at adrianschmutzler.de
Fri Oct 11 08:58:03 EDT 2019


Hi,

> > Have you checked that there are no usable addresses in 0x1002 and
> > 0x5006?
> >
> Yes, there are wireless addresses inside calibration data at offsets you
> provided, and they are both equal to LAN MAC.

Okay, so for &wmac that would mean it should correctly read the address from calibration data even if you do not specify it.
Thus, you should be able to remove the mtd-mac-address for wmac and still have the correct MAC address.

For 0x5006 this is more interesting, as it implies that the vendor puts a "wrong" MAC address into the calibration data. However, since you have verified it, it seems appropriate to overwrite the address in calibration with mtd-mac-address in this case.

Note that if you remove the mtd-mac-address for wmac, you will need to change the label-mac-device alias to &eth0 then.

Best

Adrian

> 
> Best regards
> Michal
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20191011/373fd61e/attachment.sig>
-------------- next part --------------
_______________________________________________
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