luci-mod-network: 802.11w config in station mode 2934/head
authorAntoine Deschênes <antdes45@gmail.com>
Mon, 29 Jul 2019 18:47:26 +0000 (14:47 -0400)
committerAntoine Deschênes <adeschenes@kronostechnologies.com>
Tue, 30 Jul 2019 12:50:13 +0000 (08:50 -0400)
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 <adeschenes@kronostechnologies.com>
modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi.lua

index 6cf4bdd24488fd2d4f34aae485a7d34a8c04b50e..2e6c026bb2c9fc022e986fde7926dd38f0854b5e 100644 (file)
@@ -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"),