wifi-scripts: add a few missing auth_type checks in ucode
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run

Add some missing documented or commonly used values

Fixes: https://github.com/openwrt/openwrt/issues/17431
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2025-01-18 10:06:44 +01:00
parent f22febae1a
commit 7482296ebf

View File

@ -71,12 +71,22 @@ export function parse_encryption(config) {
config.auth_type = 'eap2';
break;
case 'psk-mixed':
config.auth_type = "psk";
break;
case 'psk3':
config.auth_type = 'sae';
break;
case 'psk3-mixed':
case 'sae-mixed':
config.auth_type = 'psk-sae';
break;
case 'wpa':
case 'wpa2':
case 'wpa-mixed':
config.auth_type = 'eap';
break;
}