hostapd: mirror ieee80211w ap mode defaults in station mode
authorJo-Philipp Wich <jo@mein.io>
Fri, 20 Sep 2019 11:20:21 +0000 (13:20 +0200)
committerRISCi_ATOM <bob@bobcall.me>
Mon, 18 Nov 2019 15:25:39 +0000 (10:25 -0500)
commit41f5211440bf49f862387317aaf1a930fab2c13d
treea451ade7f429da20f5e59191b6e69160a9a24ab9
parentf3c1440f90b0e7e3ee06b0b08e77f798f9ea2928
hostapd: mirror ieee80211w ap mode defaults in station mode

For AP mode, OpenWrt automatically sets ieee80211w to either 1 or 2, depending
on whether the encryption is set to sae-mixed, or sae/owe/eap suite-b.

Mirror the same defaults for client mode connections, in order to allow an
OpenWrt station to associate to an OpenWrt ap with SAE, OWE or Suite-B encryption
without the need to manually specify "option ieee80211w" on the station.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit abb4f4075e791789fdb00731035e08a8cf51555f)
package/network/services/hostapd/Makefile
package/network/services/hostapd/files/hostapd.sh