]> git.ipfire.org Git - thirdparty/openwrt.git/commit
wifi-scripts: ucode: do not leak SAE options onto non-SAE BSSes
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 19 Apr 2026 00:36:13 +0000 (02:36 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 2 May 2026 18:34:21 +0000 (20:34 +0200)
commit9aeea77b8d36ce6ac5db1b8a6fae654f86322d4e
tree49f4ff6a46f0819bd1abe987e856f2d4235197d6
parente4b3d5c799aef3be20b7f6079e8e5a14b215c116
wifi-scripts: ucode: do not leak SAE options onto non-SAE BSSes

sae_require_mfp and sae_pwe are SAE-specific knobs but iface_auth_type()
set them on every auth type that requires PMF (sae, owe, eap2, eap192,
dpp) and on both PMF-optional transition modes (psk-sae, eap-eap2).
hostapd silently ignores the stray settings on non-SAE BSSes, but they
clutter the generated configuration and make it harder to tell at a
glance which knobs actually apply.

Split the grouping: keep ieee80211w (and rsn_override_mfp for transition
modes) where it was, and move sae_require_mfp / sae_pwe into a separate
check that only fires for the two auth types that actually run SAE (sae
and psk-sae).

No functional change on the air.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Link: https://github.com/openwrt/openwrt/pull/23009
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc