summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2019-07-30 18:50:08 +0300
committerGitHub <noreply@github.com>2019-07-30 18:50:08 +0300
commit9217742d0a7ccb8aecd7a26040ba099df0395b00 (patch)
tree4e82b381821ffe08203278e6a4e149f94399b84b
parent8a947ea550f7ab1cec89d1b1a8acf57be55e7199 (diff)
parent011d9d0176e0ecf2f535756241a35e4c93cf51b9 (diff)
Merge pull request #2934 from antoinedeschenes/patch-1
luci-mod-network: 802.11w config in station mode
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi.lua12
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 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"),