summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorPaul Dee <itsascambutmailmeanyway@gmail.com>2021-12-02 20:39:52 +0100
committerPaul Dee <itsascambutmailmeanyway@gmail.com>2021-12-08 02:00:44 +0100
commit4e3ff840eb37b8468574af3d0b4acde6ced07311 (patch)
treef648fbdd815535252293b605ad9bbd1b461d9f20 /modules/luci-mod-network/htdocs/luci-static/resources
parent2ab61de69c5909ab8af2c0dcdd9bc2f49f33384f (diff)
luci-mod-network: (wireless) Expose RSN Preauth WPA2-EAP setting.
Tested on: 21.02.1 Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources')
-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 77f53e2b7d..95b8890ece 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
@@ -1438,6 +1438,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');