Allow handling wifi interfaces with vlans attached to them inside a bridge.

We can now add the follwoing optiosn to wifi-iface and wifi-vlan sections.
        option vid 100
        option vlan_untag 0/1
The traffic will then be handled inside the bridge with the defined vid.
We can also control if egress bridge traffic should be tagged or not.
For this to work the following option needs to be set in the corresponding
networks interface section.
        option vlan_filtering 1

John Crispin (3):
  bridge: allow turning on vlan_filtering
  bridge: allow adding vlans to a bridge
  wireless: allow adding bridge vlans

 bridge.c       |  6 ++++++
 system-linux.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++
 system.h       |  3 +++
 wireless.c     | 49 +++++++++++++++++++++++++++++++++++++++++++++
 wireless.h     |  4 ++++
 5 files changed, 116 insertions(+)

-- 
2.25.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to