[PATCH] bcm53xx: add support for Meraki MR26

Christian Marangi ansuelsmth at gmail.com
Sat Jul 2 09:04:30 PDT 2022


On Sat, Jul 02, 2022 at 05:23:51PM +0200, Christian Lamparter wrote:
> On 02/07/2022 17:05, Christian Marangi wrote:
> > > +++ b/target/linux/bcm53xx/base-files/etc/hotplug.d/ieee80211/10-fix-mac-address
> > > @@ -0,0 +1,18 @@
> > > +#!/bin/ash
> > > +
> > > +[ "$ACTION" = "add" ] || exit 0
> > > +
> > Sorry for OT and unreleated question.
> > We are doing a nvmem migration and some device can declare precal bin
> > with nvmem cells but mac addrs still require special handling with a
> > script. We currently ""abuse"" the system requesting the precal bin but
> > this is problematic if we drop the precal bin (since it will be provided
> > via nvmem) and mac won't be patched.
> > 
> > I notice you are using this and wonder does this gets called when each
> > wifi gets probed?
> > 
> > Think will be an good solution to my problem.
> > 
> > Just asking some info sorry for the OT question again.
> > 
> 
> No worries, this script pops up from time to time. I've
> copied that from ath79 or was it mpc85xx?
> 
> yes, each phyX when registered issues a hotplug-call. procd/hotplug
> then checks if something exists in /etc/hotplug.d/%SUBSYSTEM%
> (i.e ieee80211) and then executes the script with various environment
> variables set. This is orchestrated by the /etc/hotplug.json rule
> at the very end of the file.
> 
> Does this help?
> 
> Cheers,
> Christian

Yes I think this is just what we need to patch the mac on ath10k.
Thanks for the explaination. This will totally help.

-- 
	Ansuel



More information about the openwrt-devel mailing list