diff options
author | Ramon Van Gorkom <Ramon00c00@gmail.com> | 2024-04-19 22:53:41 +0200 |
---|---|---|
committer | Paul Donald <itsascambutmailmeanyway+github@gmail.com> | 2024-04-24 03:22:36 +0200 |
commit | 0ef8e368b3d00babc5c6ce733da5e502102fd3c0 (patch) | |
tree | 4acecaa844e27bb14c61617e592bc8864ec3be94 /applications/luci-app-usteer/htdocs/luci-static/resources/view | |
parent | e68be6ca0771f1a547d3e7a03523f238af323f54 (diff) |
luci-app-usteer: Added 2 missing parameters, updated 2 defaults, updated help texts
Added 2 missing parameters, updated 2 defaults, updated help texts
Signed-off-by: Ramon Van Gorkom <Ramon00c00@gmail.com>
Diffstat (limited to 'applications/luci-app-usteer/htdocs/luci-static/resources/view')
-rw-r--r-- | applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js b/applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js index b6da2327b5..166ebcef4b 100644 --- a/applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js +++ b/applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js @@ -400,13 +400,17 @@ return view.extend({ o = s.taboption('settings', widgets.NetworkSelect, 'network', _('Network'), _('The network interface for inter-AP communication')); - o = s.taboption('settings', form.Flag, 'syslog', _('Log messages to syslog')); + o = s.taboption('settings', form.Flag, 'syslog', _('Log messages to syslog'),_('default true')); o.default = '1'; o.rmempty = false; - o = s.taboption('settings', form.Flag, 'ipv6', _('IPv6 mode'), _('Use IPv6 for remote exchange')); + o = s.taboption('settings', form.Flag, 'local_mode', _('Local mode'), _('Disable network communication')+' ('+_('default false')+')'); o.rmempty = false; + o = s.taboption('settings', form.Flag, 'ipv6', _('IPv6 mode'), _('Use IPv6 for remote exchange')+' ('+_('default false')+')'); + o.rmempty = false; + + o = s.taboption('settings', form.ListValue, 'debug_level', _('Debug level')); o.value('0', _('Fatal')); o.value('1', _('Info')); @@ -429,7 +433,7 @@ return view.extend({ o = s.taboption('settings', form.Value, 'local_sta_timeout', _('Local sta timeout'), _('Maximum amount of time (ms) a local unconnected station is tracked')); o.optional = true; - o.placeholder = 12000; + o.placeholder = 120000; o.datatype = 'uinteger'; o = s.taboption('settings', form.Value, 'measurement_report_timeout', _('Measurement report timeout'), _('Maximum amount of time (ms) a measurement report is stored')); @@ -472,10 +476,10 @@ return view.extend({ o.placeholder = 10; o.datatype = 'uinteger'; - o = s.taboption('settings', form.Flag, 'assoc_steering', _('Assoc steering'), _('Allow rejecting assoc requests for steering purposes')); + o = s.taboption('settings', form.Flag, 'assoc_steering', _('Assoc steering'), _('Allow rejecting assoc requests for steering purposes')+' ('+_('default false')+')'); o.optional = true; - o = s.taboption('settings', form.Flag, 'probe_steering', _('Probe steering'), _('Allow ignoring probe requests for steering purposes')); + o = s.taboption('settings', form.Flag, 'probe_steering', _('Probe steering'), _('Allow ignoring probe requests for steering purposes')+' ('+_('default false')+')'); o.optional = true; o = s.taboption('settings', form.Value, 'min_connect_snr', _('Min connect SNR'), _('Minimum signal-to-noise ratio or signal level (dBm) to allow connections')); @@ -493,6 +497,11 @@ return view.extend({ o.placeholder = 5000; o.datatype = 'uinteger'; + o = s.taboption('settings', form.Value, 'steer_reject_timeout', _('Steer reject timeout'), _('Timeout (ms) for which a client will not be steered after rejecting a BSS-transition-request')); + o.optional = true; + o.placeholder = 60000; + o.datatype = 'uinteger'; + o = s.taboption('settings', form.Value, 'roam_process_timeout', _('Roam process timeout'), _('Timeout (in ms) after which a association following a disassociation is not seen as a roam')); o.optional = true; o.placeholder = 5000; @@ -531,9 +540,9 @@ return view.extend({ o.placeholder = 60000; o.datatype = 'uinteger'; - o = s.taboption('settings', form.Value, 'roam_kick_delay', _('Roam kick delay'), _('Timeout (in 100ms beacon intervals) for client roam requests')); + o = s.taboption('settings', form.Value, 'roam_kick_delay', _('Roam kick delay'), _('Timeout (ms) for client roam requests. usteer will kick the client after this times out.')); o.optional = true; - o.placeholder = 100; + o.placeholder = 10000; o.datatype = 'uinteger'; o = s.taboption('settings', form.Value, 'signal_diff_threshold', _('Signal diff threshold'), _('Minimum signal strength difference until AP steering policy is active')); @@ -546,7 +555,7 @@ return view.extend({ o.placeholder = 0; o.datatype = 'uinteger'; - o = s.taboption('settings', form.Flag, 'load_kick_enabled', _('Load kick enabled'), _('Enable kicking client on excessive channel load')); + o = s.taboption('settings', form.Flag, 'load_kick_enabled', _('Load kick enabled'), _('Enable kicking client on excessive channel load')+' ('+_('default false')+')'); o.optional = true; o = s.taboption('settings', form.Value, 'load_kick_threshold', _('Load kick threshold'), _('Minimum channel load (%) before kicking clients')); @@ -609,7 +618,7 @@ return view.extend({ o.optional = true; o.datatype = 'list(string)'; - o = s.taboption('settings', form.DynamicList, 'ssid_list', _('SSID list'), _('List of SSIDs to enable steering on')); + o = s.taboption('settings', form.DynamicList, 'ssid_list', _('SSID list'), _('List of SSIDs to enable steering on')+' ('+_('empty means all')+')'); WifiNetworks.forEach(function (wifiNetwork) { if (wifiNetwork.getSSID() && (!o.keylist || o.keylist.indexOf(wifiNetwork.getSSID()) === -1)) { o.value(wifiNetwork.getSSID()) |