luci-mod-network: wireless.js: fix 802.11r dependencies 6862/head
authorJesus Fernandez Manzano <jesus.manzano@galgus.ai>
Tue, 23 Jan 2024 09:49:34 +0000 (10:49 +0100)
committerJesus Fernandez Manzano <jesus.manzano@galgus.ai>
Tue, 23 Jan 2024 09:49:34 +0000 (10:49 +0100)
commit4c76a91fd7aabdef0a8bc8769727b909e994a628
treefa3e1b85104e5e93d28c401d4cec0e523d64dbdd
parent87734b841d4de8385fe4a1d0c11440be01ccc7d8
luci-mod-network: wireless.js: fix 802.11r dependencies

Don't allow enabling 802.11r when using 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.

Also restrict ft_psk_generate_local to psk2 and psk-mixed. Using it
with non-psk encryptions breaks roaming.

Signed-off-by: Jesus Fernandez Manzano <jesus.manzano@galgus.ai>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js