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 <n...@nbd.name> wrote: > > > > On 23. Jul 2020, at 13:44, Josh Bendavid <joshbenda...@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 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel