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

Muna Sinada quic_msinada at quicinc.com
Mon Dec 23 16:49:46 PST 2024


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.

Muna Sinada (3):
  Dynamic VLAN: Enable Dynamic VLAN for MLO
  wpa_auth: Use VLAN group keys for EAPOL frames and FT reassoc
  tests: Add MLO case for AP VLAN tests

 src/ap/ap_drv_ops.c         | 11 +++++-
 src/ap/drv_callbacks.c      |  2 +-
 src/ap/hostapd.c            | 19 ++++++++++
 src/ap/ieee802_11.c         |  4 ++-
 src/ap/sta_info.c           | 71 +++++++++++++++++++++++++++----------
 src/ap/vlan_full.c          | 22 ++++++++++--
 src/ap/wpa_auth.c           | 35 +++++++++++++++---
 src/ap/wpa_auth.h           |  8 +++--
 src/ap/wpa_auth_ft.c        | 13 +++++--
 src/ap/wpa_auth_glue.c      | 17 ++++++---
 tests/hwsim/hostapd.py      |  6 +++-
 tests/hwsim/test_ap_vlan.py | 57 +++++++++++++++++++++++++++++
 12 files changed, 226 insertions(+), 39 deletions(-)

-- 
2.34.1




More information about the Hostap mailing list