diff options
author | Gospod Nassa <devianca@gmail.com> | 2018-05-18 09:39:33 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-05-24 17:24:30 +0200 |
commit | d4cad59927c2534773413f413221ae817052a596 (patch) | |
tree | fac48a59571dcdf9aa14c298c888b53edebf98ee /target | |
parent | 09cb0a5626b53b7be3923c6af18de675461cea8c (diff) | |
download | upstream-d4cad59927c2534773413f413221ae817052a596.tar.gz upstream-d4cad59927c2534773413f413221ae817052a596.tar.bz2 upstream-d4cad59927c2534773413f413221ae817052a596.zip |
hostapd: fix IEEE 802.11r (fast roaming) defaults
Use ft_psk_generate_local=1 by default, as it makes everything else fairly
trivial. All of the r0kh/r1kh and key management stuff goes away and hostapd
fairly much does it all for us.
We do need to provide nas_identifier, which can be derived from the BSSID,
and we need to generate a mobility_domain, for which we default to the first
four chars of the md5sum of the SSID.
The complex manual setup should also still work, but the defaults also
now work easily out of the box. Verified by manually running hostapd
(with the autogenerated config) and watching the debug output:
wlan2: STA ac:37:43:a0:a6:ae WPA: FT authentication already completed - do not start 4-way handshake
This was previous submitted to LEDE in
https://github.com/lede-project/source/pull/1382
[dwmw2: Rewrote commit message]
Signed-off-by: Gospod Nassa <devianca@gmail.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
(cherry picked from commit 3cc56a5534b8b49a7e9ba57edf9878ec32bdd27a)
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions