luci-app-mtwifi-cfg: remove wpapsk encryption options

mtwifi-cfg: set WPAPSK encryption to AES
This commit is contained in:
hanwckf 2024-01-02 20:31:20 +08:00
parent b282a15b33
commit 2a32e39feb
2 changed files with 4 additions and 2 deletions

View File

@ -1398,10 +1398,12 @@ return view.extend({
o.depends('encryption', 'wpa2');
o.depends('encryption', 'wpa3');
o.depends('encryption', 'wpa3-mixed');
o.depends('encryption', 'psk');
o.depends('encryption', 'psk2');
o.depends('encryption', 'wpa-mixed');
o.depends('encryption', 'psk-mixed');
if (hwtype != 'mtwifi') {
o.depends('encryption', 'psk');
}
o.value('auto', _('auto'));
o.value('ccmp', _('Force CCMP (AES)'));
o.value('tkip', _('Force TKIP'));

View File

@ -112,7 +112,7 @@ mtwifi_defs.enc2dat = {
["psk2"] = {"WPA2PSK", "AES"},
["psk+tkip+ccmp"] = {"WPAPSK", "AES"},
["psk+tkip+aes"] = {"WPAPSK", "AES"},
["psk+tkip"] = {"WPAPSK", "TKIP"},
["psk+tkip"] = {"WPAPSK", "AES"},
["psk+ccmp"] = {"WPAPSK", "AES"},
["psk+aes"] = {"WPAPSK", "AES"},
["psk"] = {"WPAPSK", "AES"},