diff options
| author | Felix Fietkau | 2025-06-11 09:34:16 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2025-06-21 18:34:12 +0000 |
| commit | 583f81ef0ee152404b633810607bbe15b0dcf9cf (patch) | |
| tree | 2a188cf9eb542bb801f82cbe579b127b70a50554 | |
| parent | 254dd7d7d9c88e1b05dad44615213de9a0a4e462 (diff) | |
| download | openwrt-583f81ef0ee152404b633810607bbe15b0dcf9cf.tar.gz | |
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@nbd.name>
| -rw-r--r-- | package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 ;; |