From 011d9d0176e0ecf2f535756241a35e4c93cf51b9 Mon Sep 17 00:00:00 2001 From: Antoine DeschĂȘnes Date: Mon, 29 Jul 2019 14:47:26 -0400 Subject: luci-mod-network: 802.11w config in station mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 802.11w has to be enabled in station mode to be effective. If the AP is using WPA3-SAE or requires 11w, station will not connect unless 11w is enabled via this option. Signed-off-by: Antoine DeschĂȘnes --- .../luci-mod-network/luasrc/model/cbi/admin_network/wifi.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi.lua index 6cf4bdd24..2e6c026bb 100644 --- a/modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi.lua @@ -1151,6 +1151,18 @@ if hwtype == "mac80211" then ieee80211w:depends({mode="ap-wds", encryption="sae"}) ieee80211w:depends({mode="ap-wds", encryption="sae-mixed"}) ieee80211w:depends({mode="ap-wds", encryption="owe"}) + ieee80211w:depends({mode="sta", encryption="wpa2"}) + ieee80211w:depends({mode="sta-wds", encryption="wpa2"}) + ieee80211w:depends({mode="sta", encryption="psk2"}) + ieee80211w:depends({mode="sta", encryption="psk-mixed"}) + ieee80211w:depends({mode="sta", encryption="sae"}) + ieee80211w:depends({mode="sta", encryption="sae-mixed"}) + ieee80211w:depends({mode="sta", encryption="owe"}) + ieee80211w:depends({mode="sta-wds", encryption="psk2"}) + ieee80211w:depends({mode="sta-wds", encryption="psk-mixed"}) + ieee80211w:depends({mode="sta-wds", encryption="sae"}) + ieee80211w:depends({mode="sta-wds", encryption="sae-mixed"}) + ieee80211w:depends({mode="sta-wds", encryption="owe"}) max_timeout = s:taboption("encryption", Value, "ieee80211w_max_timeout", translate("802.11w maximum timeout"), -- cgit v1.2.3