[OpenWrt-Devel] mtd-mac-address on MT7610E chip

David Bauer mail at david-bauer.net
Mon Sep 2 13:02:03 EDT 2019


Hello Adrian,

On 9/2/19 6:13 PM, Adrian Schmutzler wrote:
> Hi,
> 
> we just have encountered the case of a 5 GHz radio on a MT7610E chip that does not provide its MAC address via caldata.
> 
> We tried the following:
> 
> &pcie0 {
> 	wifi at 0,0 {
> 		reg = <0x0000 0 0 0 0>;
> 		mediatek,mtd-eeprom = <&factory 0x8000>;
> 		ieee80211-freq-limit = <5000000 6000000>;
> 		mtd-mac-address = <&factory 0x28>;
> 		mtd-mac-address-increment = <2>;
> 	};
> };
> 
> But the device insists on using the address from 0x8004.
> 
> Any ideas? Is mtd-mac-address(-increment) not implemented for this chip?

This issue persists for quite some time, the mt76 driver does not
call mt76_eeprom_override upon initialization. I'm sadly not aware why
this is the case. A PR for this is open in mt76 for quite some time.

You might have some luck pinging mbd directly or going thru linux-wireless.

See https://github.com/openwrt/mt76/pull/209

Best wishes
David

_______________________________________________
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