wifi-scripts: add a few missing auth_type checks in ucode
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:
parent
f22febae1a
commit
7482296ebf
1 changed files with 10 additions and 0 deletions
|
@ -71,12 +71,22 @@ export function parse_encryption(config) {
|
||||||
config.auth_type = 'eap2';
|
config.auth_type = 'eap2';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'psk-mixed':
|
||||||
|
config.auth_type = "psk";
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'psk3':
|
||||||
|
config.auth_type = 'sae';
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'psk3-mixed':
|
||||||
case 'sae-mixed':
|
case 'sae-mixed':
|
||||||
config.auth_type = 'psk-sae';
|
config.auth_type = 'psk-sae';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'wpa':
|
case 'wpa':
|
||||||
case 'wpa2':
|
case 'wpa2':
|
||||||
|
case 'wpa-mixed':
|
||||||
config.auth_type = 'eap';
|
config.auth_type = 'eap';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue