diff options
author | Felix Fietkau <nbd@nbd.name> | 2023-08-31 11:16:04 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2023-08-31 13:05:13 +0200 |
commit | f0d1349b52983400e7526f3ab57dc6a0f2cc771a (patch) | |
tree | 7d82355ef7efbf6113b0d52d9598cf6b1e82e236 /package/network/services/hostapd/files/hostapd.sh | |
parent | 79283e8fb5aedce035bca29ec7b1478dd74e815f (diff) | |
download | openwrt-f0d1349b52983400e7526f3ab57dc6a0f2cc771a.tar.gz openwrt-f0d1349b52983400e7526f3ab57dc6a0f2cc771a.tar.bz2 openwrt-f0d1349b52983400e7526f3ab57dc6a0f2cc771a.zip |
hostapd: fix FILS key mgmt type for WPA3 Enterprise 192 bit
Use the SHA384 variant to account for longer keys with more security
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network/services/hostapd/files/hostapd.sh')
-rw-r--r-- | package/network/services/hostapd/files/hostapd.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 88dfe25091..3033ef79ca 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -77,6 +77,10 @@ hostapd_append_wpa_key_mgmt() { [ "$fils" -gt 0 ] && { case "$auth_type" in + eap-192) + append wpa_key_mgmt FILS-SHA384 + [ "${ieee80211r:-0}" -gt 0 ] && append wpa_key_mgmt FT-FILS-SHA384 + ;; eap*) append wpa_key_mgmt FILS-SHA256 [ "${ieee80211r:-0}" -gt 0 ] && append wpa_key_mgmt FT-FILS-SHA256 |