[OpenWrt-Devel] [PATCH] ath79: add support for Ubiquiti LiteBeam AC Gen2
Adrian Schmutzler
mail at adrianschmutzler.de
Tue Dec 3 06:51:27 EST 2019
> -----Original Message-----
> From: Stijn Tintel [mailto:stijn at linux-ipv6.be]
> Sent: Dienstag, 3. Dezember 2019 01:16
> To: mail at adrianschmutzler.de; openwrt-devel at lists.openwrt.org
> Cc: pozega.tomislav at gmail.com
> Subject: Re: [OpenWrt-Devel] [PATCH] ath79: add support for Ubiquiti LiteBeam
> AC Gen2
>
> On 3/12/2019 02:05, mail at adrianschmutzler.de wrote:
> >> -----Original Message-----
> >> From: Stijn Tintel [mailto:stijn at linux-ipv6.be]
> >> Sent: Dienstag, 3. Dezember 2019 00:58
> >> To: mail at adrianschmutzler.de; openwrt-devel at lists.openwrt.org
> >> Cc: pozega.tomislav at gmail.com
> >> Subject: Re: [OpenWrt-Devel] [PATCH] ath79: add support for Ubiquiti
> >> LiteBeam AC Gen2
> >>
> >> On 3/12/2019 01:39, mail at adrianschmutzler.de wrote:
> >>> Hi Stijn,
> >>>
> >>> does the device have a MAC address label or imprint on the box?
> >> It does.
> > Which one is it? (eth0, 2.4 GHz, 5 GHz)
>
> 5 GHz. Does this need to be added somewhere? It's the MAC address of the
> wireless chip on the PCIe bus. As this is not defined in DTS, I don't
> know how to reference it (to set label-mac-device)?
>
> Stijn
>
I've recently made an effort to include the label MAC address into OpenWrt, so that's why I try to advertise this here :-)
If not available via DTS, you can specify label_mac in the MAC address section of 02_network, e.g.
https://github.com/openwrt/openwrt/blob/master/target/linux/ath79/generic/base-files/etc/board.d/02_network#L296
So, for your case it looks like you would have to add
ubnt,litebeam-ac-gen2)
label_mac=$(mtd_get_mac_binary art 0x5006)
;;
inside ath79_setup_macs() there.
I've tried to provide a short overview about the label MAC address here:
https://openwrt.org/docs/guide-developer/mac.address#label_mac_address
Best
Adrian
-------------- 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/20191203/7fdc7916/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