mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 17:45:13 +08:00
🔥 Sync 2026-10-07 17:07:39
This commit is contained in:
1 parent
007d8fe1b0
commit
ecb79884af
23 files changed
+1659
-78
No files matched your search
@@ -583,8 +583,8 @@ function getConfigCipherValue(section_id, hwtype) {
|
||||
function getDisplayEncryption(radioNet) {
|
||||
const hwtype = uci.get('wireless', radioNet.getWifiDeviceName(), 'type');
|
||||
const configured = getConfigEncryptionValue(radioNet.getName(), hwtype);
|
||||
// The QCA iwinfo backend reports OWE as WPA2-PSK.
|
||||
if (isQcaWifiHwtype(hwtype) && configured == 'owe')
|
||||
// The QCA iwinfo backend reports OWE and SAE as WPA2-PSK.
|
||||
if (isQcaWifiHwtype(hwtype) && ['owe', 'sae', 'sae-mixed'].includes(configured))
|
||||
return formatConfigEncryption(configured);
|
||||
|
||||
const encryption = radioNet.getActiveEncryption();
|
||||
@@ -3301,6 +3301,10 @@ return view.extend({
|
||||
}
|
||||
else if (e == 'sae') {
|
||||
uci.set('wireless', section_id, 'sae', '1');
|
||||
if (getSecurityBand() == '6g') {
|
||||
uci.set('wireless', section_id, 'sae_pwe', '1');
|
||||
uci.set('wireless', section_id, 'ieee80211w', '2');
|
||||
}
|
||||
}
|
||||
else {
|
||||
uci.unset('wireless', section_id, 'sae');
|
||||
|
||||
Reference in new issue
Block a user