gluon/package/gluon-core
David Bauer 387a9b4fe4 gluon-core: assert WiFi driver provides 4 MAC-addresses (#1626)
Gluon has multiple ways to obtain unique MAC-addresses. They are either
provided by the WiFi driver or derived from the primary MAC-address.

Quoting the same file:

> It's necessary that the first 45 bits of the MAC address don't
> vary on a single hardware interface, since some chips are using
> a hardware MAC filter. (e.g 'rt305x')

This currently fails in case the rt35xx based chips mac address differs
from the primary MAC. In this case, the MAC address for the client0 radio
(vif 1) comes from the WiFi driver. As there is only a single
MAC-address provided by '/sys/class/ieee80211/phyX/addresses' but the
MAC-address for mesh 0 (vif 2) is derived from the Node-ID, resulting in
different first 45 bits. The WiFi won't come up altogether in this case.

This commit verifies at least 4 MAC-Addresses are provided by the WiFi
driver. If this is not the case, all MAC-addresses are derived from the
primary MAC. This way, affected radios are working correctly.
2019-02-11 21:22:46 +01:00
..
files gluon-core: enable ECN 2018-11-26 01:20:31 +01:00
luasrc gluon-core: assert WiFi driver provides 4 MAC-addresses (#1626) 2019-02-11 21:22:46 +01:00
src gluon-core: reimplement gluon.site module in C 2018-01-18 16:29:00 +01:00
check_site.lua Switch to OpenWrt 18.06 branch 2018-07-10 22:57:40 +02:00
Config.in gluon-ebtables: build kernel with ebt_dnat and ebt_redirect (#1472) 2018-11-16 21:33:59 +01:00
Makefile gluon-core: remove nixio dependency 2018-07-17 20:08:16 +02:00