hostapd: fix 11r defaults when using WPA
authorJesus Fernandez Manzano <jesus.manzano@galgus.ai>
Mon, 22 Jan 2024 12:46:14 +0000 (13:46 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 8 Jul 2024 20:27:11 +0000 (22:27 +0200)
commit7e31d2ad408a184f8f378646e9ba39c9e23a6db4
treecf3a8b1a109e7483bdb0078f86cc8d0bf2409d73
parent6681c0285dc15e72de1329ec356cc4e2ab872556
hostapd: fix 11r defaults when using WPA

802.11r can not be used when selecting WPA. It needs at least WPA2.

This is because 802.11r advertises FT support in-part through the
Authentication and Key Management (AKM) suites in the Robust
Security Network (RSN) Information Element, which was included in
the 802.11i amendment and WPA2 certification program.

Pre-standard WPA did not include the RSN IE, but the WPA IE.
This IE can not advertise the AKM suite for FT.

Signed-off-by: Jesus Fernandez Manzano <jesus.manzano@galgus.ai>
(cherry picked from commit cdc4c551755115e0e1047a0c90a658e6238e96ee)
Link: https://github.com/openwrt/openwrt/pull/15899
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/services/hostapd/files/hostapd.sh