summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-10-01 10:52:32 +0200
committerGitHub <noreply@github.com>2018-10-01 10:52:32 +0200
commite24c897b880c90c0f101211200650bc0de95f755 (patch)
tree64b305603a44e088166f2f0e58d8298f7c1bbea4 /modules
parent24cf28b5ec148bc29d2d150e94f8928d96c1d1e6 (diff)
parent7d09ee81a02684ab516b2cfaf2dcb682f07b8bb9 (diff)
Merge pull request #2192 from Ansuel/wifi
luci-app-network: add rekey option
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi.lua24
1 files changed, 22 insertions, 2 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 743efaa1e8..8ed39df486 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
@@ -16,7 +16,8 @@ local acct_port, acct_secret, acct_server, anonymous_identity, ant1, ant2,
mp, nasid, network, password, pmk_r1_push, privkey, privkey2, privkeypwd,
privkeypwd2, r0_key_lifetime, r0kh, r1_key_holder, r1kh,
reassociation_deadline, retry_timeout, ssid, st, tp, wepkey, wepslot,
- wmm, wpakey, wps, disassoc_low_ack, short_preamble, beacon_int, dtim_period
+ wmm, wpakey, wps, disassoc_low_ack, short_preamble, beacon_int, dtim_period,
+ wparekey, inactivitypool, maxinactivity, listeninterval
arg[1] = arg[1] or ""
@@ -507,6 +508,26 @@ if hwtype == "mac80211" then
dtim_period.optional = true
dtim_period.placeholder = 2
dtim_period.datatype = "range(1,255)"
+
+
+ wparekey = s:taboption("advanced", Value, "wpa_group_rekey", translate("Time interval for rekeying GTK"), translate("sec"))
+ wparekey.optional = true
+ wparekey.placeholder = 600
+ wparekey.datatype = "uinteger"
+
+ inactivitypool = s:taboption("advanced", Flag , "skip_inactivity_poll", translate("Disable Inactivity Polling"))
+ inactivitypool.optional = true
+ inactivitypool.datatype = "uinteger"
+
+ maxinactivity = s:taboption("advanced", Value, "max_inactivity", translate("Station inactivity limit"), translate("sec"))
+ maxinactivity.optional = true
+ maxinactivity.placeholder = 300
+ maxinactivity.datatype = "uinteger"
+
+ listeninterval = s:taboption("advanced", Value, "max_listen_interval", translate("Maximum allowed Listen Interval"))
+ listeninterval.optional = true
+ listeninterval.placeholder = 65535
+ listeninterval.datatype = "uinteger"
disassoc_low_ack = s:taboption("advanced", Flag, "disassoc_low_ack", translate("Disassociate On Low Acknowledgement"),
translate("Allow AP mode to disconnect STAs based on low ACK condition"))
@@ -794,7 +815,6 @@ for slot=1,4 do
end
end
-
if hwtype == "mac80211" or hwtype == "prism2" then
-- Probe 802.11r support (and EAP support as a proxy for Openwrt)