openwrt/package/network/services/hostapd
Eneas U de Queiroz e6df13d0e1 hostapd: fallback to psk when generating r0kh/r1kh
The 80211r r0kh and r1kh defaults are generated from the md5sum of
"$mobility_domain/$auth_secret".  auth_secret is only set when using EAP
authentication, but the default key is used for SAE/PSK as well.  In
this case,  auth_secret is empty, and the default value of the key can
be computed from the SSID alone.

Fallback to using $key when auth_secret is empty.  While at it, rename
the variable holding the generated key from 'key' to 'ft_key', to avoid
clobbering the PSK.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
[make ft_key local]
Signed-off-by: David Bauer <mail@david-bauer.net>
2022-02-19 16:14:52 +01:00
..
files hostapd: fallback to psk when generating r0kh/r1kh 2022-02-19 16:14:52 +01:00
patches hostapd: refresh patches 2022-02-08 00:21:41 +01:00
src hostapd: add STA extended capabilities to get_clients 2022-02-19 16:14:45 +01:00
Config.in treewide: nuke DRIVER_11W_SUPPORT 2020-12-23 16:36:08 +01:00
Makefile hostapd: update to v2.10 2022-02-08 00:21:27 +01:00