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
1 changed files with 5 additions and 1 deletions
|
@ -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…
Reference in a new issue