[PATCH RFC v2 0/3] Dynamic VLAN: Enable Dynamic VLAN for MLO
Muna Sinada
quic_msinada at quicinc.com
Fri Jan 17 18:46:13 PST 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.
Corresponding kernel changes:
https://patchwork.kernel.org/project/linux-wireless/list/?series=926629
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 (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 | 26 +++++++++++++
src/ap/ieee802_11.c | 4 +-
src/ap/sta_info.c | 71 ++++++++++++++++++++++++++----------
src/ap/vlan_full.c | 22 ++++++++++-
src/ap/wpa_auth.c | 43 ++++++++++++++++++++--
src/ap/wpa_auth.h | 11 ++++--
src/ap/wpa_auth_ft.c | 13 +++++--
src/ap/wpa_auth_glue.c | 17 +++++++--
src/drivers/driver_nl80211.c | 5 +++
tests/hwsim/hostapd.py | 6 ++-
tests/hwsim/test_ap_vlan.py | 57 +++++++++++++++++++++++++++++
13 files changed, 249 insertions(+), 39 deletions(-)
--
2.34.1
More information about the Hostap
mailing list