[PATCH RFC v3 0/2] Dynamic VLAN: Enable Dynamic VLAN for MLO

Muna Sinada muna.sinada at oss.qualcomm.com
Thu May 8 17:13:05 PDT 2025


Enable Dynamic VLAN for Multi-Link Operation (MLO) for APs in hostapd.

When Dynamic VLAN is enabled for AP MLD (Multi-Link Device), VLAN
list will be maintained in the first BSS (Basic Service Set).

For MLO, VLAN interfaces will generate a GTK for each link it has.
These VLAN GTKs will need to be exchanged in 3/4 message in EAPOL
handshake.

Add test case to AP VLAN test cases that brings up an EHT MLD AP with
Dynamic VLAN configurations and successfully create VLANs for the
connected non-AP MLD and a non-ML STA.

v3:
 - rebased to TOT
 - dropped HWSIM patch from series. Will be submitting patch separate
   from series. A bit of rework is required.
 - dependency kernel patches are present in wireless-next:
https://lore.kernel.org/linux-wireless/20250325213125.1509362-1-muna.sinada@oss.qualcomm.com/

v2:
 - incorrectly passed the next bss, causing memory leak. Now passsing
   valid next bss
 - VLAN MLD interface was not properly being deleted due to failing
   check in driver_nl80211_link_remove()
 - add description for wpa_select_vlan_wpa_group()
 - move wpa_select_vlan_wpa_group() into CONFIG_IEEE80211BE block

Muna Sinada (2):
  Dynamic VLAN: Enable Dynamic VLAN for MLO
  wpa_auth: Use VLAN group keys for EAPOL frames and FT reassoc

 src/ap/ap_drv_ops.c          | 11 +++++-
 src/ap/drv_callbacks.c       |  2 +-
 src/ap/hostapd.c             | 26 +++++++++++++
 src/ap/ieee802_11.c          |  4 +-
 src/ap/sta_info.c            | 71 ++++++++++++++++++++++++++----------
 src/ap/vlan_full.c           | 22 ++++++++++-
 src/ap/wpa_auth.c            | 42 +++++++++++++++++++--
 src/ap/wpa_auth.h            | 10 +++--
 src/ap/wpa_auth_ft.c         | 13 +++++--
 src/ap/wpa_auth_glue.c       | 17 +++++++--
 src/drivers/driver_nl80211.c |  5 +++
 11 files changed, 185 insertions(+), 38 deletions(-)


base-commit: 54930b62b5d3e4e8eafc6c74ff123554de14ee86
-- 
2.34.1




More information about the Hostap mailing list