[openwrt/openwrt] wifi-scripts: enforce management frame protection on 6 GHz
LEDE Commits
lede-commits at lists.infradead.org
Sat Jun 21 11:34:32 PDT 2025
nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/583f81ef0ee152404b633810607bbe15b0dcf9cf
commit 583f81ef0ee152404b633810607bbe15b0dcf9cf
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Wed Jun 11 11:34:16 2025 +0200
wifi-scripts: enforce management frame protection on 6 GHz
Configurations that don't enforce it are rejected by hostapd
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh b/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh
index f4a7c71bea..f15e7f1b43 100644
--- a/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh
+++ b/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh
@@ -691,7 +691,11 @@ hostapd_set_bss_options() {
[ "$ppsk" -eq 0 ] && set_default sae_pwe 2
;;
psk-sae|eap-eap2)
- set_default ieee80211w 1
+ if [ "$band" = 6g ]; then
+ set_default ieee80211w 2
+ else
+ set_default ieee80211w 1
+ fi
set_default sae_require_mfp 1
[ "$ppsk" -eq 0 ] && set_default sae_pwe 2
;;
More information about the lede-commits
mailing list