Merge pull request #5570 from systemcrash/rsn_preauth

luci-mod-network: Expose RSN Preauth WPA2-EAP setting.
This commit is contained in:
Jo-Philipp Wich 2022-08-30 20:53:42 +02:00 committed by GitHub
commit 46181e5ace
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1452,6 +1452,10 @@ return view.extend({
o.rmempty = true; o.rmempty = true;
o.password = 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 = ss.taboption('encryption', form.Value, '_wpa_key', _('Key'));
o.depends('encryption', 'psk'); o.depends('encryption', 'psk');