Просмотр исходного кода

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 <[email protected]>
Felix Fietkau 11 месяцев назад
Родитель
Сommit
7482296ebf

+ 10 - 0
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/iface.uc

@@ -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;
 	}