mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-05 09:56:12 +02:00
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>
This commit is contained in:
parent
254dd7d7d9
commit
583f81ef0e
@ -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
|
||||
;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user