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. v4: - dropped "RFC" prefix - moved CONFIG_IEEE80211BE compiler flag outside hostapd_mld_move_vlan_list() since it is called by a function that is inside CONFIG_IEEE80211BE block. When CONFIG_IEEE80211BE is not enabled, compiler warning is observed for unused defined function. 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@xxxxxxxxxxxxxxxx/ 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 | 27 ++++++++++++++ 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, 186 insertions(+), 38 deletions(-) -- 2.34.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap