summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-08-30 20:53:42 +0200
committerGitHub <noreply@github.com>2022-08-30 20:53:42 +0200
commit46181e5ace8c5cf86e257d021b4e3e593f1a7f5e (patch)
treefdb94e27b2e957bbc1f6f72c9353649d5ad94778 /modules/luci-mod-network
parent2adba1b8d020dc973c9dd61f43a8ae4b8fbac9c7 (diff)
parent4e3ff840eb37b8468574af3d0b4acde6ced07311 (diff)
Merge pull request #5570 from systemcrash/rsn_preauth
luci-mod-network: Expose RSN Preauth WPA2-EAP setting.
Diffstat (limited to 'modules/luci-mod-network')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
index 7570a47ef9..9b4cb06f29 100644
--- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
+++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
@@ -1452,6 +1452,10 @@ return view.extend({
o.rmempty = true;
o.password = true;
+ //WPA(1) has only WPA IE. Only >= WPA2 has RSN IE Preauth frames.
+ o = ss.taboption('encryption', form.Flag, 'rsn_preauth', _('RSN Preauth'), _('Robust Security Network (RSN): Allow roaming preauth for WPA2-EAP networks (and advertise it in WLAN beacons). Only works if the specified network interface is a bridge. Shortens the time-critical reassociation process.'));
+ add_dependency_permutations(o, { mode: ['ap', 'ap-wds'], encryption: ['wpa2', 'wpa3', 'wpa3-mixed'] });
+
o = ss.taboption('encryption', form.Value, '_wpa_key', _('Key'));
o.depends('encryption', 'psk');