diff options
author | Antoine DeschĂȘnes <antdes45@gmail.com> | 2019-07-29 14:47:26 -0400 |
---|---|---|
committer | Antoine DeschĂȘnes <adeschenes@kronostechnologies.com> | 2019-07-30 08:50:13 -0400 |
commit | 011d9d0176e0ecf2f535756241a35e4c93cf51b9 (patch) | |
tree | 1b9005aebff5085343c808066523056e5c54bccb /modules/luci-mod-network/luasrc | |
parent | e0771aa49f5cf88352bb8a8979c9d153de822fa3 (diff) |
luci-mod-network: 802.11w config in station mode
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>
Diffstat (limited to 'modules/luci-mod-network/luasrc')
-rw-r--r-- | modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi.lua | 12 |
1 files changed, 12 insertions, 0 deletions
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 6cf4bdd244..2e6c026bb2 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"), |