[RFC PATCH v2 0/1] Introduce UCI support for configuring DSA VLAN filter rules

Josh Bendavid joshbendavid at gmail.com
Thu Jul 23 08:16:52 EDT 2020

Ok I see, but then wouldn't it be much simpler to specify the bridge
device directly in wifi-ifaces instead of the network?

It's also needed in this case to ensure that the bridge-vlan section
can configure tagging on the bridge interface itself.

On Thu, 23 Jul 2020 at 13:53, Felix Fietkau <nbd at nbd.name> wrote:
> > On 23. Jul 2020, at 13:44, Josh Bendavid <joshbendavid at gmail.com> wrote:
> >
> > "1. Have VLAN devices on top of vlan-enabled bridges to define hotplug
> > ops where applicable, so LAN could be a plain VLAN interface switch0.1
> > instead of its own bridge."
> >
> > By this you mean that the creation of the switch0.1 device will
> > trigger automatically through the hotplug op
> > "bridge vlan add dev switch0 vid 1 tagged self" or its equivalent?
> No, it refers to how wifi interfaces are added dynamically in netifd.
> If lan is a bridge and the wifi-iface has option network lan, it means that wlan* is added to br-lan automatically. I want to make that same mechanism work with lan ifname switch0.1 (and no extra lan bridge) as well.
> - Felix

More information about the openwrt-devel mailing list