[RFC 0/5] Dynamic VLAN improvements

Helmut Schaa helmut.schaa
Mon Mar 17 06:16:23 PDT 2014


hostapd has full dynamic VLAN support. However, the current implementation
does not allow to use random bridge names.

So, instead of letting hostapd "core" generate bridges with fixed names
on the fly allow hostapd.vlan to specify bridge names per VLAN or a generic
bridge name template with a placeholder.

Furthermore bridging is pushed down into the driver.

The full dynamic vlan option is kept in the code base to stay backwards
compatible.

Sending as RFC for now.

Helmut Schaa (5):
  hostapd: Simplify vlan_add_dynamic error paths
  hostapd: Add more flexible VLAN briging
  driver_nl80211: Factor out bss bridge status into its own struct
  driver_nl80211: Allow bridging of AP_VLAN interfaces
  hostapd: Reduce indention in vlan_dynamic_add

 hostapd/config_file.c        |  46 ++++++-------
 hostapd/hostapd.vlan         |  10 +--
 src/ap/ap_config.h           |   1 +
 src/ap/ap_drv_ops.c          |   4 +-
 src/ap/ap_drv_ops.h          |   3 +-
 src/ap/vlan_init.c           |  66 +++++++++++--------
 src/drivers/driver_nl80211.c | 149 +++++++++++++++++++++++++++++++++----------
 7 files changed, 185 insertions(+), 94 deletions(-)

-- 
1.8.1.4




More information about the Hostap mailing list