[PATCH 0/5] Notify mac80211 about supported selectors
Benjamin Berg
benjamin at sipsolutions.net
Wed Jan 8 01:10:28 PST 2025
From: Benjamin Berg <benjamin.berg at intel.com>
We have submitted some patches for mac80211[1] that verify the
supported selectors before trying to connect to an AP. mac80211 will by
default assume that the SAE_H2E selector is supported, however, there
is a new nl80211 attribute to explicitly set a list of supported
selectors.
This patchset updates hostap to use the new infrastructure. This is
primarily needed to fix some of the hwsim tests, as mac80211 will assume
support for SAE_H2E by default.
Also included is an AP mode bugfix to not requires SAE_H2E unless it is
the only available method.
[1] https://patchwork.kernel.org/project/linux-wireless/patch/20250101070249.e58a0f34c798.Ifeb3bfd7b157ffa2ccdb20ca1cba6cf068fd117d@changeid/
Benjamin Berg (5):
AP: only set SAE_H2E selector if SAE is required
nl80211: synchronize nl80211.h
nl80211: send list of selectors supported by SME
tests: use fail_test instead of relying on HT rejection
tests: pass extra_selectors to nl80211 driver
src/ap/ieee802_11.c | 4 +--
src/common/defs.h | 9 ++++++
src/drivers/driver_nl80211.c | 57 +++++++++++++++++++++++++++++++++
src/drivers/driver_nl80211.h | 2 ++
src/drivers/nl80211_copy.h | 19 +++++++++++
tests/hwsim/test_ap_ht.py | 22 ++++++++-----
tests/hwsim/test_ap_vht.py | 11 ++++---
tests/hwsim/test_connect_cmd.py | 18 +++++------
tests/hwsim/test_he.py | 21 ++++++------
tests/hwsim/test_owe.py | 14 ++++----
10 files changed, 139 insertions(+), 38 deletions(-)
--
2.47.1
More information about the Hostap
mailing list