wifi-scripts: add a few missing auth_type checks in ucode
authorFelix Fietkau <nbd@nbd.name>
Sat, 18 Jan 2025 09:06:44 +0000 (10:06 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sat, 18 Jan 2025 09:36:37 +0000 (10:36 +0100)
Add some missing documented or commonly used values

Fixes: https://github.com/openwrt/openwrt/issues/17431
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/iface.uc

index ed9b2625bb0f0524d99699d34b5358f3b7460b03..710ded10e51cc8ee71d46ee9609c7ffe539ce398 100644 (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;
        }