[PATCH v5 00/22] Tagged VLAN support

Michael Braun michael-dev at fami-braun.de
Tue Nov 19 14:46:39 EST 2013


Hi,

this patch series adds support for tagged VLANs.

Changes in v5:
 - vlan helper functions are no longer inline
 - remove typedef vlan_t
 - remove kernel bug workaround
 - rebase to HEAD

Changes in v4:
 - added missing #ifdef FULL_DYNAMIC_VLAN
 - rebased against upstream
 - removed some trailing whitespaces

Changes in v3:
 - drop patches already applied upstream
 - key freeing is not done in the rekeying timer anymore
 - WEP VLAN support is dropped
 - transition to new VLAN datatype is split into multiple patches due to size
 - reorder changes so that the patch to drop vlan_tail now is self contained
 - fix a bug in RADIUS tagged VLAN code

Regards,
 M. Braun

---

Michael Braun (22):
      Remove WPA per-VLAN groups when all stations left on rekeying
      add CONFIG_VLAN_TAGGED configuration option
      VLAN: Create new data type for VLAN description.
      VLAN: Use new VLAN data type in config
      VLAN: Use new VLAN data type in src_ap_ap_drv_ops.h
      VLAN: Use new VLAN data type in src_ap_ieee802_11
      VLAN: Use new VLAN data type in src_ap_ieee802_1x.c
      VLAN: Use new VLAN data type in src_ap_pmksa_cache_auth
      VLAN: Use new VLAN data type in src_ap_sta_info
      VLAN: Use new VLAN data type in src_ap_vlan_init
      VLAN: Use new VLAN data type in src_ap_wpa_auth
      VLAN: Use new VLAN data type in src_drivers
      VLAN: Use new VLAN data type in wpa_supplicant
      VLAN: add tagged vlan to vlan data structure
      parse untagged/tagged VLANs from config files
      radius: parse tagged vlan information
      VLAN: use untagged/tagged for interface configuration
      Fix kernel NEWLINK processing
      Fix STA dynamic vlan tracking
      VLAN: reduce newlink/dellink message printing
      VLAN: ensure destroying interfaces goes reverse as creating
      VLAN: Preserve interfaces that already existed while creating


 hostapd/Makefile                 |    5 
 hostapd/config_file.c            |  344 ++++++++++++++++++++++-------
 hostapd/defconfig                |    3 
 hostapd/hostapd.conf             |   14 +
 src/ap/ap_config.c               |   15 +
 src/ap/ap_config.h               |   30 ++-
 src/ap/ap_drv_ops.h              |    3 
 src/ap/ieee802_11.c              |   20 +-
 src/ap/ieee802_11_auth.c         |   22 +-
 src/ap/ieee802_11_auth.h         |    3 
 src/ap/ieee802_1x.c              |   36 ++-
 src/ap/pmksa_cache_auth.c        |    9 +
 src/ap/pmksa_cache_auth.h        |    2 
 src/ap/sta_info.c                |   76 +++++-
 src/ap/sta_info.h                |   10 +
 src/ap/vlan_init.c               |  452 +++++++++++++++++++++++++-------------
 src/ap/vlan_init.h               |   14 +
 src/ap/wpa_auth.c                |  119 ++++++++--
 src/ap/wpa_auth.h                |    9 +
 src/ap/wpa_auth_ft.c             |    4 
 src/ap/wpa_auth_glue.c           |    9 -
 src/ap/wpa_auth_i.h              |    4 
 src/ap/wpa_auth_ie.c             |    4 
 src/common/vlan.c                |  175 +++++++++++++++
 src/common/vlan.h                |   41 +++
 src/drivers/driver.h             |    3 
 src/drivers/driver_nl80211.c     |   18 +-
 src/drivers/driver_test.c        |    7 -
 src/radius/radius.c              |   71 +++++-
 src/radius/radius.h              |    3 
 wpa_supplicant/ibss_rsn.c        |    5 
 wpa_supplicant/tests/link_test.c |    5 
 32 files changed, 1165 insertions(+), 370 deletions(-)
 create mode 100644 src/common/vlan.c
 create mode 100644 src/common/vlan.h

-- 
Signature


More information about the HostAP mailing list